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



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

Re: XoopsForm - Inherited error checking? eg: phone, email, etc
by Mithrandir on 2004/7/10 7:52:06

The only error checking directly in the form elements is the possibility to set the second parameter in the XoopsForm::addElement() method to true, making the field required. There is no checking whether data is correct - only if the field is filled out.
XoopsForm - Inherited error checking? eg: phone, email, etc
by zer0fill on 2004/7/10 6:57:26

Is there a built-in function for the XoopsForm to error check (javascript and php) user input such as phone numbers, email, custom? I think the PEAR form handler does this but not too sure if the XoopsForm is based off that.

Who's Online

185 user(s) are online (126 user(s) are browsing Support Forums)


Members: 0


Guests: 185


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