Changes

Jump to: navigation, search

JavaScript Validation

250 bytes added, 18:56, 8 September 2008
no edit summary
'''Example'''
To allow a field to contain only hold numbers and a semi-colon
isFloat(@value@.replace(/;/g,""),true)
 
==To allow letters and a space==
 
isAlphabetic(@value@,Allow Empty,Allow Space)
 
'''where'''
 
Allow Empty - true/false
Allow Space - true/false
 
'''Example'''
 
To allow a field to contain only letters and a space
 
isAlphabetic(@value@,true,true)
[[Category:Custom Fields]][[Category:Browser Scripts]]

Navigation menu