FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » Make a field in the registration form required
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Make a field in the registration form required [message #25462] Wed, 08 June 2005 18:54 Go to next message
BobB is currently offline  BobB   United States
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 Go to previous message
Ilia is currently offline  Ilia   Canada
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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Marking messages read in database
Next Topic: Mailing List- Using a Reply-able email sending account
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Dec 18 08:20:29 GMT 2024

Total time taken to generate the page: 0.03660 seconds