View Full Version : Make required/mandatory fields optional
cantilever
07-21-2006, 11:42 PM
Hi, I would like to make certain fields optional. In particular, I would like to make the "URL" field optional. How can I accomplish this? Cheers,
Hello and welcome!
Check your submit.php file out.
If you want for example to make URL optional:
Content visible to registered users only. You have to change the first "false" to "true".
For URL, you also have to disable the isURLOnline validation.
Here are the option for the register_validator function, check out what each option means and how you can change.
Content visible to registered users only.
I hope you understand what I mean :rolleyes:
Feel free to ask again until you do.
Boby
cantilever
07-24-2006, 06:33 PM
Thanks, Bobby :)
It worked like a charm.
I just have another question. Now that the 'url' field is optional in the submit form, how can I make the red asterisk (*) right next to the 'url' field disappear?
Thanks,
Remove following code next to the URL field in submit.tpl ;)
Content visible to registered users only.
Boby
cantilever
07-24-2006, 08:19 PM
Thanks Bobby :)
vBulletin® v3.8.0, Copyright ©2000-2012, Jelsoft Enterprises Ltd.