How can I set a text field to convert all text entered to upper case when populated? | Community
Skip to main content
Level 2
September 6, 2013
Solved

How can I set a text field to convert all text entered to upper case when populated?

  • September 6, 2013
  • 34 replies
  • 28828 views

I want to have all entered text populated into specific text fields to automatically convert to upper case. I am working in LiveCycle Designer ES2.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by jcytrny

I am not sure how to place the code to get it working. Cannot get it to work.

34 replies

jcytrnyAuthor
Level 2
September 9, 2013

I cannot open the link to see the code as PDF. I wish I knew what Adobe version I need since I have Reader X and Acrobat Pro X installed.

jcytrnyAuthorAccepted solution
Level 2
September 9, 2013

I am not sure how to place the code to get it working. Cannot get it to work.

Level 4
September 9, 2013

I have attached the screenshot of both the places (i.e., where i used the script)that will help you to use this script into your form.

1. On js variable

2. On exit event of textfield1

Thanks,

Vipin

jcytrnyAuthor
Level 2
September 12, 2013

Thank you. I just cannot see how to enter the js variable as it appears in your screenshot. I see no option to enter variable and cannot change the text from subform to variable in the function area.

Level 4
September 13, 2013

It seems you are facing issue while creating Script object(js).To create a new script object, right-click on the order object at the top of your form hierarchy. Select Insert Script Object from the pop-up menu. A new script object appears below the Validation script object.

Thanks,

Vipin

jcytrnyAuthor
Level 2
September 13, 2013

Thank you. Got the views matching yours but still does not work for the Proper Case. Your Change Case document with the two text fields even does not work to Proper case.

Level 4
September 16, 2013

It seems you are missing something, please share your email ID i'll send the working form.

Thanks,

Vipin

jcytrnyAuthor
Level 2
September 16, 2013

info@jcytournaments.com

Level 4
September 17, 2013

Please check your mail, i have shared the form.

Steps to use the form.

1. Open the PDF form

2. Type something in the textfield1.

3. Press tab key.

4. You will find the result in the textfield2.

Thanks,

Vipin

jcytrnyAuthor
Level 2
September 17, 2013

Thank you. I am trying to get the entered text to auto change to Proper case without being moved to a different text field. That does not help my form. I need the entered text to change within the same field. I cannot be adding extra text fields just to change the case.

Anyway, it is just a wish and maybe it is not possible to do.

Thank you for your assistance.