I want to create a global variable to record whether a button is clicked--once it clicked, I want to set the variable value =1 and then use this value some where else. How can I do this? I am using javascript. Thanks!
I want to create a global variable to record whether a button is clicked--once it clicked, I want to set the variable value =1 and then use this value some where else. How can I do this? I am using javascript. Thanks!
You can create form variables by using the "File menu > Form Properties cmd > Variables" panel. These are global within the form. Note that when using JavaScript, you must get/set their value using their "value" property as follows:ButtonPressed.value = 1;
Stefan Cameron obtained his bachelor's degree with Honors in Computer Science at the University of Ottawa and is a Computer Scientist working on Adobe's LiveCycle server products, in particular on LiveCycle Designer ES for the past 5 years.