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

Can data be inserted into a text field

ArchieCampbell
Registered: Sep 26 2009
Posts: 4

I have 8 lines of text on a form that includes a date.
For example:
 
.... The Producer will also document and submit all crop records pertaining to the contracted acres by August 1, 2011. Failure to do so could result in .....
 
I would like to have the date change based on an XML field much like other form fields are changed.
Is JavaScript my solution?
 
Any thoughts would be appreciated.
 
Thanks
Archie Campbell

My Product Information:
LiveCycle Designer, Windows
radzmar
Expert
Registered: Nov 3 2008
Posts: 1202
You can do this mostly without scripting.
Use floating fields in your text where the date should be displayed.
The will a a hidden text field in your forms hierarchy, which you can populate from the XML file.

radzmar
LoveCycle Blog
Documents you need:
LiveCycle Designer ES2 Docs

ArchieCampbell
Registered: Sep 26 2009
Posts: 4
Thanks for your suggestion, Radzmar.

I added the floating field. Good idea. I was not aware of its existence.

Now I am having difficulty populating it from the XML.
As I am using CutePdf Form SDK to populate the form, I have sent them a support request asking why it does not populate.

Archie