Special characters

Avatar

Avatar
Validate 1
Level 1
andersons205830
Level 1

Like

1 like

Total Posts

19 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 1
andersons205830
Level 1

Like

1 like

Total Posts

19 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
andersons205830
Level 1

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)

Avatar

Avatar
Coach
MVP
radzmar
MVP

Likes

397 likes

Total Posts

2,687 posts

Correct reply

492 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile

Avatar
Coach
MVP
radzmar
MVP

Likes

397 likes

Total Posts

2,687 posts

Correct reply

492 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
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");

Answers (1)

Answers (1)

Avatar

Avatar
Validate 1
Level 1
andersons205830
Level 1

Like

1 like

Total Posts

19 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 1
andersons205830
Level 1

Like

1 like

Total Posts

19 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
andersons205830
Level 1

12-12-2017

I really appreciate radzmar.
You always sharing your knowledge.

It works like a charm.

Thanks a lot.