Special Characters remove / replace
Hi Zoho,
I need check for special characters in one of my string (text) fields in a form.
How can I do this, except for a veryyyyy long "If" command listing all the possible characters?
Any build-in function?
I've tried
if (input.Insurance_Type.contains("[/\-\(\)_@#\^!\$%\&\*:;`~ ]"))
{
alert "Special characters are not allowed in Insurance type field, please re-enter";
}
Both on field -> on user input and on the form's "On validate" - but nothing happened
Ravid