Expand my Community achievements bar.

Adding Buttons and Scripting to a FillableForm

Avatar

Level 1

Hello.

I am new to Adobe LiveCycle Designer and would like to know how to add a function to a fillable form.  Specifically, I would like to add a Button and assign to it the function of copying the current page (with all fields selected) and adding it to the fillable form as page 2.  I know this would invovle using either Java Script or FormCalc, however, I am clueless as to creating the script and binding the execution of the script to when the Button is pressed.

Any help would be greatly appreciated.

Thank you,

James at SIU

1 Reply

Avatar

Former Community Member

most items you can add events on.

if you've added a button to the screen, click(select it) on it

go to "Window -> Script Editor"

it will pop up on the top.

once your item is selected you'll see different events in the drop down, in the scripting window, top left, and language selection on the top right.

I always use "JavaScript and Both" as my selections.

good luck!

hope that'll help to get you started.

sample you can use for your button is:

app.alert("i clicked it")

under the "click" event.