This topic is locked

Required fields on registration

5/17/2008 3:51:45 PM
PHPRunner General questions
R
richardbeaumont author

I have a registration page which has a number of required text fields - like a company name.
Yet empty values are allowed to be entered - with a successful registration taking place. I have 4.2 build 379.
Can you help?
Richard

A
alang 5/19/2008

Have you checked the "Required Field" checkbox on "Edit As" tab (after double click on appropriate field) in the visual editor?

R
richardbeaumont author 5/20/2008

Have you checked the "Required Field" checkbox on "Edit As" tab (after double click on appropriate field) in the visual editor?


Absolutely - and the onload code in the generated <body> tag shows the fields as being required - but the only fields that are actually required to then process the form and submit the data are the email (which I use as username for login) and password fields. All other fields can be blank despite the settings.

R
richardbeaumont author 5/20/2008

PS If this also helps I discovered that even to force someone to enter something in the password field - I had to change the settings to create a minimum number of characters - otherwise it allowed an empty password to be set - which itself generated an md5 string in the database.
Richard