I have an old form that was created by someone else in 2015 in LiveCycle. I am currently working on it in Designer 6.4 but have very little experience with it; I'm mostly learning by doing.
The file has been worked on in LiveCycle ES4 and AEM_forms designer ver. 6.4
I have two text fields where I need to have a character count, one for characters used and another for characters remaining. Even though I'm working from the original file where this worked, in my new version I keep getting errors, even though I haven't changed anything.
The first field is called shorttitle which has a 40 character max, and the count shows the characters left. The next one is abstract, and that needs to be an expandable text box and the character count shows the characters used. Neither of those work.
For the shorttitle I show the following in the Script Editor:
The field hierarchy is: projecttitle (text field) shorttitle (text field) charactermax (text) shorttitlecharleft (numeric field-value Calculated-Read Only; Calculation Script)
The other field is an expanding text box called abstracttext This has a 200 character minimum.
The field hierarchy for this is:
abstracttextsf (subform) abstracttext (text field with multiple lines and page breaks allowed, plus Expand to fit on Height checked) abstractcharacterminsf (subform) abstractcharactermin (text) abstracttext (numeric field-value Calculated-Read Only; Calculation Script)