Home »
FUDforum »
How To »
Make a field in the registration form required
Make a field in the registration form required [message #25462] |
Wed, 08 June 2005 18:54 |
BobB
Messages: 165 Registered: April 2005 Location: Tucson, AZ
Karma: 0
|
Senior Member |
|
|
I found the right template and moved "Location" up with the required fields, but that doesn't make it a required field. I can see what does, but it appears that each required field has its own unique error message that's generated if the field is left blank. How can I make "Location" a required field? Would I have to create an error message for it?
|
|
|
Re: Make a field in the registration form required [message #25465 is a reply to message #25462] |
Wed, 08 June 2005 23:11 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
To make it a required field you need to modify the code checking for valid fields, specifically the register_form_check() function inside register.php.t You can use existing code as an example of what needs to be done.
FUDforum Core Developer
|
|
|
Goto Forum:
Current Time: Tue Nov 05 22:29:29 GMT 2024
Total time taken to generate the page: 0.02082 seconds