1
zer0fill
XoopsForm - Inherited error checking? eg: phone, email, etc
  • 2004/7/10 6:57

  • zer0fill

  • Not too shy to talk

  • Posts: 137

  • Since: 2003/12/2


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.

2
Mithrandir
Re: XoopsForm - Inherited error checking? eg: phone, email, etc

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.

Login

Who's Online

183 user(s) are online (110 user(s) are browsing Support Forums)


Members: 0


Guests: 183


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits