Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
3 + 5 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
     

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

Who's Online

592 user(s) are online (517 user(s) are browsing Support Forums)


Members: 0


Guests: 592


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits