1
I added a new form to the registration page called "reason for registration". I would like to have the form filled in with usefull text (instructions) and also make it required for registration.
The problem ...I would like this form to be mandatory for registration but if I have the prefilled text in the form then XOOPS treats it like it was filled in by the user--the user does not need to fill in anything.
Here is the line I am using in xoops/include/registerform.php
$reg_form->addElement(new XoopsFormTextarea(_US_whyregast, "user_whyreg", "Hello", 5, 50, $myts->htmlSpecialChars($user_whyreg)), true);
Is there a way around this or do just need to leave out the "Hello"?
Peace