Special characters

andersons205830

12-12-2017

Hello.

I would like to do a conversion of some special characters.

Example: I type "ç, ã, á" in the text field and after that happens the conversation for "c, a, a".

Does anyone know any script?

Thank you

Accepted Solutions (1)

Accepted Solutions (1)

radzmar

MVP

12-12-2017

In the change event of the field add the following JavaScript:

xfa.event.change = xfa.event.change.replace(/[ãá]/g, "a").replace(/[ç]/g, "c");