Expand my Community achievements bar.

SOLVED

All caps display pattern

Avatar

Level 3

Can I make a text field display in "all caps" regardless of how the user entered the text?

1 Accepted Solution

Avatar

Correct answer by
Level 10

Place the following code in the Change event of the field to make the input to Upper Case.    

Thanks

Srini

View solution in original post

8 Replies

Avatar

Correct answer by
Level 10

Place the following code in the Change event of the field to make the input to Upper Case.    

Thanks

Srini

Avatar

Level 3

Thanks! It works like a charm

Cheers

Nadeem

Avatar

Level 2

So to ask such a stupid question. B ut where do you actually put this code?

I can not see a change event area?

Thanks

Weezy

Avatar

Level 3

In your script editor, at the top left hand corner, there is a drop-down which allows you to associate scripts with events for a particular field. So, if you have a text field, select it in your form and associate a change event script with it.

Hope this helps.events.PNG

Avatar

Level 2

How could you apply this to many fields across a long document?

Avatar

Level 3

Not really (at least I don't know how to do that). What you can do is put the script on your clipboard, open the script editor and choose the "change" event from the "Show" drop-down and then click on each field you want to change and paste the script in each. Not very elegant or smart, but it works.

Avatar

Level 2

Thank you.

I will just grind it out then.

Avatar

Level 1

I am using ES4 and this does not seem to work. Is there something else I need to do in this version?