Answered
Acrobat Form Calculated Field Problems
- January 22, 2024
- 3 replies
- 3118 views
Happy New Year all.
I have created an Acrobat form that includes -
Text Fields: ContactName, ContactPhone, ContactEmail, AgeGrp, TeamName, MyInfo
Radio Button: HC
Drop-down Lists: DivisionH, DivisionC, TeamH, TeamC
Things to note:
- HC is used to hide either the _C or _H drop-down fields as each is set with specific options on their list.
- I may try to figure out how to dynamically control the options shown in the drop-downs rather than hiding/showing, but that is not my current issue.
- Because of how the data from the form will be processed once received, I want to concatenate all the field values into a single field. Specifically MyInfo.
My issues:
- I can get simple versions of this to work, but when I try to get the if/then required for choosing which of the drop-down list values to include in the concatenation everything breaks.
- even when things are "working" in a simple version, the calculated value of MyInfo does not update when one of the contributing fields is changed.
- There will be some blank fields. If I can leave them out of MyInfo that would be great.
- Me. I'm the biggest issue here as my javascript is rusty.
Any help would be greatly appreciated and I'm happy to answer any questions. I have attached a copy of the form.
Rob
