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 の返信
  • 768 ビュー

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.