8,849
edits
Changes
no edit summary
* '''HTML Tag''' - onchange="this.value=convertPhoneStr(this.value,'XXX-XXX-XXXX')"
[[Image:Phone.png]] Multiple validations can be used by using the logical OR operator - isPhoneStr(@value@,i.e. '''XXX-XXX-XXXX||') OR isPhoneStr(@value@,'X-XXX-XXX-XXXX')-
isPhoneStr(@value@,'XXX-XXX-XXXX') || isPhoneStr(@value@,'X-XXX-XXX-XXXX') ==See Also==* [[Image:Phone.pngJavaScript Validation]]
[[Category:System ManagementJavaScript]][[Category:Browser ScriptsCustom Fields]][[Category:Validation]]