Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

How to change the label of PDF Form Field Button?????

Level 2
Level 2


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.



3 Replies
Level 7
Level 7

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;

Level 8
Level 8

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

Level 2
Level 2

Hi TundraSteve,

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.