How can I create an invoice number in Livecycle that will increment by one each time a reset form button is pressed? I am new to Livecycle and from what I can find browsing the net, I will need a web service to achive this. How could I accomplish this even if I have access to a web service? Any help would greatly be appreciated!!!!!
If you want to calculate hoe many number of times a particular button is clicked and basing that you want to generate some invoices, you can do that. You can use a hidden NumericField. And put this code in the click event of the ReserButton. It will strore the number of times the button is cliked and it will increment everytime the button is clicked.
var a = NumericField1.rawValue ;
a = a +1;
NumericField1.rawValue = a ;
I put the code you suggested into the "click" area of the reset button, then created a numeric field but every time, i clicked the reset button, the number never changed. What am i doing wrong?