required fields (registration birthdate)
Version: 3.3.17
URL:
|
rolij
Member Usergroup: Customer Joined: May 19, 2005 Total Topics: 18 Total Posts: 42 |
Posted 05/08/06 - 10:36 AM:
When I set the birthdate as a required field for registration I get a 'you did not complete all of the required fields' although I selected a birthday, a birthmonth and a birthyear. Is the problem that it requires a field named birthdate but the fields are named birthday, birthmonth and birthyear? |
|
Paul
developer Usergroup: Administrator Joined: Dec 20, 2001 Location: Diamond Springs, California Total Topics: 65 Total Posts: 7610 |
Posted 05/10/06 - 6:50 PM:
In register.php, move if ($_POST['birthmonth'])to just above $requiredmembers = explode(',', $settings->requiredmembers);Applying for 3.3.18 of course. |
|
rolij
Member Usergroup: Customer Joined: May 19, 2005 Total Topics: 18 Total Posts: 42 |
Posted 05/23/06 - 11:48 PM:
I fixed this manually according your recommendation and it worked fine until I updated to 3.3.18. It seems like there's an CRLF in the file which my system doesn't recognize. I can't explain this because I don't understand it. But if I delete the CRLF, it works fine again. |
|
||
This thread is closed, so you cannot post a reply.

Print