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

Form number count


Not applicable
Hi, I am stuck with probably the most simple script i need for my Livecycle form. I want to have a number in the form with 6 characters which counts up starting from a certain number each time the form is saved.

Can someone help me out on this one?

Thx in advance, Tom
1 Reply


Level 5
Here is what you may try....

add a textField add set the default value to 100000 (or the number you want) and in 'preSave' event add the following JS code

this.rawValue = parseInt(this.rawValue) +1

Good Luck,