How can I set a text field to convert all text entered to upper case when populated? | Community
Skip to main content
New Participant
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
  • 28825 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

October 8, 2013

I have played around with my scripts and I think I have figured it now.

But maybe you can help me with something else. I have one field for comments. Some of my users all use uppercase and the sentences become hard to read. Is it possible to convert sentences to lower case?

Sonya Patton

Administrative Assistant to the Director,

International Outreach Division

P.O. Box 140800 | Nashville, TN 37214-0800

PH 615.564.5000 :: FX 615.564.6000

spatton@gideons.org | www.gideons.org

jcytrnyAuthor
New Participant
October 8, 2013

Do you want the entire form I created or simply the code used for the text field?

October 8, 2013

Can you please share the new form you shared above where value change was in the same textfield with me?

Thank you

New Participant
September 17, 2013

I have shared the new form, where value change in the same textfield.

jcytrnyAuthor
New Participant
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.

New Participant
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
New Participant
September 16, 2013

info@jcytournaments.com

New Participant
September 16, 2013

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

Thanks,

Vipin

jcytrnyAuthor
New Participant
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.

New Participant
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