| Re: user registration -- prefilled text box |
| by spankee on 2006/5/26 5:54:58 Thanks for replying Javascript you say...anybody want to help me out on that? |
| Re: user registration -- prefilled text box |
| by davidthomas1 on 2006/5/26 1:42:06 You either have to either: 1)Leave out the default value or 2)Write some javascript to check the text area value is different from the default value when the user submits the form. |
| Re: user registration -- prefilled text box |
| by davidthomas1 on 2006/5/26 1:39:48 You either have to either: 1)Leave out the default value or 2)Write some javascript to check the text area value is different from the default value when the user submits the form. |
| user registration -- prefilled text box |
| by spankee on 2006/5/25 8:07:27 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 le="color: #000000"><?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 |