FormValidator.Tips

docs

This class extends the FormValidator class to use popup tips instead of in-line error messaging. It makes use of the StickyWin.PointyTip class for positioning, so you have a lot of flexibility about where the tips appear, what color they are, their size, etc.

Here's a simple demonstration using the default options:

  • user name:
  • first name:
  • last name:
  • age:
  • sex: M () - F ()
  • birth-date: (optional, DD/MM/YYYY)
  • home page: (optional)

new FormValidator.Tips('formExample');
execute this code

cnet-libraries/09-forms/04.5-formvalidator.tips.txt · Last modified: 2009/01/29 16:14 by aaron-n