Change first letter in floating field to a capital letter | Adobe Higher Education
Skip to main content
Level 5
August 5, 2023
해결됨

Change first letter in floating field to a capital letter

  • August 5, 2023
  • 2 답변들
  • 762 조회

Still need assistance.  I would like to know how I can change the first letter in a floating field to a capital letter.  The floating field is tied to a text field and how ever the entry is made in the text field, I would like the result in the floating field to start with a capital letter.  Example:  If the user enter the word "apple" in a text field, I would like it to appear in the floating field as "Apple".  Any help would be appreciated.  My form is a livecycle designer form.

이 주제는 답변이 닫혔습니다.
최고의 답변: Vijay_Katoch

form1.TextField2::exit - (JavaScript, client)

floatingField.rawValue = this.rawValue.charAt(0).toUpperCase()+this.rawValue.slice(1);

2 답변

Vijay_Katoch
Community Advisor
Community Advisor
August 7, 2023

form1.TextField2::exit - (JavaScript, client)

floatingField.rawValue = this.rawValue.charAt(0).toUpperCase()+this.rawValue.slice(1);

islandgirl23작성자
Level 5
August 7, 2023

Thank You!  That works perfectly.