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;
This is in the wrong forum. This is the LiveCycle forum the reply above won't work in your case. Open your question in the Acrobat Forum not LiveCycle
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.