These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Access the caption of a textfield

lcd-newbie
Registered: Sep 20 2009
Posts: 2

Hello,
I’ve to create a form in which you can see if someone edited a textfield. This should be achieved in the following way: The user opens the form. Then the default value will be written in a hidden field. Then it will be compared the values of the textfields. If there is a difference the caption of the visible textfield should be painted in a red color. Is it possible to access only the caption of a textfield with javascript (akin to the way this.font.fill.color.value = "255,0,0";) ?
Maybe someone could give me a tip.

radzmar
Expert
Registered: Nov 3 2008
Posts: 1202
Have a look to this thread.

http://www.acrobatusers.com/forums/aucbb/viewtopic.php?id=20713

Sample:
https://share.acrobat.com/adc/document.do?docid=8f6df44f-bc4f-4c3b-a272-d78a1e7945cf

radzmar
LoveCycle Blog
Documents you need:
LiveCycle Designer ES2 Docs