Morning,
Is there a way to restrict double byte characters from being typed into a field? I am looking for an alternative to a script on the change event filtering key strikes. I've tried playing with the locale, fonts, picture clauses but didn't manage to get the desired results.
Thanks
Hélène
Views
Replies
Total Likes
Hi,
Could you place something like this as the validation pattern.
text{AAAAAAA}
It seems to work for me but I am not sure which characters exactly you are trying to stop.
(to create a validation pattern : Just in case)
add a text field
select "value"
click "Validation Pattern" Button
Select "Validation" tab
Enter "text{AAAAAAA}" in the "Pattern" box.
Hope this helps
Malcolm
Views
Replies
Total Likes
Thanks for your response.
We're trying to restrict double byte characters e.g. Japanese or Russian characters. The picture pattern suggested doesn't differentiate between a single and double byte character.
Hélène
Views
Replies
Total Likes
Hi,
Using that format I was unable to type á into a text field, I think that is a double byte character ( maybe I am wrong on that).
I will try and test with Russian or Japanese and see if I can find a solution.
Malcolm
Views
Replies
Total Likes
I tested the solution with a text field (kept default settings including font) and copied a double byte character from Windows's Character Map tool (using the same font i.e. Myriad Pro).
Thanks for your help.
Hélène
Views
Replies
Total Likes