toggle disabling between url and text