I have a PDF document which consists of 2 Form fields of object types Button and Textfield. Button having label "Deliver", now I want the text label to be customised, What ever the value sent as input should be placed as the label for same button.
Is it possible to customize the form field elements??????
The PDF has been created using ADOBE Acrobat Pro.
I was able to modify the label value using Acrobat Pro.
Put this in the exit event (or somewhere else you'd like) for the text field. (I don't know what you named your button; so, I chose btnDeliver.)
xfa.resolveNode("btnDeliver.caption.value.#text").value = this.rawValue;
I want this to happen from LiveCycle only not from the acrobat side. I want this caption change when I pass this document as an input to the process, and the process should change the button caption from "Deliver" to another value(passed as an input variable). Initially I am able to modify the TextField value using the below xml input
<?xml version="1.0" encoding="UTF-8"?>
Passed this xml as input to the renderPDFForm activity along with the PDF form.
Now I want to modify the caption of "Deliver" button to a string passed as an input to the process. For this process I have two inputs strings. One Input value should be placed in the TextField and the another input value should be placed as the caption name of the button.