yav - javascript validation tool
Home
Download
|
Support
Documentazione
Come iniziare
Regole di validazione
Supporto multi-lingue
Impara per esempi
Form di registrazione
Notifica cambiamenti
Iscrizione newsletter
Captcha
Operatori and/or
Regole Pre/Post/Implies
Le maschere
Validazione custom
Supporto
Gruppo discussioni
Mailing list
Contatto e-mail
Example 2
This is a simple notification of changes.
Here you can learn more about date fields and masks. The date fields accepts numbers only.
source
var rules=new Array(); rules[0]='frequency|required'; rules[1]='activation:Activation date|date'; rules[2]='deactivation:Dectivation date|date'; rules[3]='activation:Activation date|date_lt|$deactivation:Dectivation date'; rules[4]='activation|mask|date'; rules[5]='deactivation|mask|date'; yav.addHelp('frequency', 'Provide the frequency of notification you prefer'); yav.addHelp('activation', 'Provide the activation date of the service'); yav.addHelp('deactivation', 'Provide the deactivation date of the service'); yav.addMask('date', ' - - ', '1234567890');
Notification of changes
Frequency:
daily
weekly
monthly
Activation date:
Deactivation date:
Copyright 2005-2008. All rights reserved.