Changes

Jump to: navigation, search

Validating Postal Codes

239 bytes added, 20:51, 3 December 2015
Added Zip Code
document.frmuser.ucountry.value!="10" || isMatch(@value@, 'LNL NLN', true)
 
==Zip Code Format==
To enforce a US zip code of 5 or 5+4 digits, enter the following into the ''Validation'' setting:
 
isFloat(@value@.replace(/-/g,""),true) && (isMatch(@value@, 'NNNNN', false) || isMatch(@value@, 'NNNNN-NNNN', false))
==See Also==
Smartstaff
286
edits

Navigation menu