* '''HTML Tag''' - onchange="this.value=convertPhoneStr(this.value,'XXX-XXX-XXXX')"
Multiple validations can be used by using the OR operator - isPhoneStr(@value@,'XXX-XXX-XXXX') OR isPhoneStr(@value@,'X-XXX-XXX-XXXX')[[Image:Phone.png]]
[[Image:PhoneMultiple validations can be used by using the logical OR operator (i.png]]e. '''||''') - isPhoneStr(@value@,'XXX-XXX-XXXX') || isPhoneStr(@value@,'X-XXX-XXX-XXXX')
[[Category:JavaScript]][[Category:Custom Fields]]