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

368 user(s) are online (290 user(s) are browsing Support Forums)


Members: 0


Guests: 368


more...

Donat-O-Meter

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

Latest GitHub Commits