This topic is locked

checkbox at user registration as required field

9/29/2010 3:07:19 AM
PHPRunner General questions
S
sepp author

Hi, (phpr5,2 mysql)

I inserted a checkbox in register page to let new users confirm a security statement.

How can I make the checkbox as required field? (must be clicked to continue registration)

There is no required field option (in editor) to click when choosing checkbox.
thx

Andreas

A
ann 9/29/2010

Andreas,
use JavaScript Onload event of the Register page to set field as required.

More information here:

http://xlinesoft.com/phprunner/docs/javascript_api.htm