Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

Increase report Number

Avatar

Former Community Member
Hi,

I've create a HelpDesk form including a ReportNumber whit a Default value of 700.

Question :



How can I increment my default value each time the reset button is use.



My Reset Button, has a script, so it ain't resetting the value in the ReportNumber field.

Here's my resetButton Script :



----- form1.Page1.Button2::mouseUp: - (FormCalc, client) -------------------------------------------



xfa.host.resetData("form1.Page1.AssignedTo,

form1.Page1.StartDate,

form1.Page1.CheckBox1[0],

form1.Page1.CheckBox1[1],

form1.Page1.CheckBox1[2],

form1.Page1.CheckBox1[3],

form1.Page1.CheckBox1[4],

form1.Page1.CheckBox2[0],

form1.Page1.CheckBox2[1],

form1.Page1.CheckBox2[2],

form1.Page1.CheckBox2[3],

form1.Page1.CheckBox2[4],

form1.Page1.CheckBox2[5],

form1.Page1.CheckBox2[6],

form1.Page1.LoggedBy,

form1.Page1.DateTimeField3,

form1.Page1.Description,

form1.Page1.EndTime,

form1.Page1.ExecutedBy,

form1.Page1.ReportedBy,

form1.Page1.Resolution,

form1.Page1.StarDate,

form1.Page1.TextField5[0],

form1.Page1.TextField5[1],

form1.Page1.TextField5[2],

form1.Page1.TextField5[3],

form1.Page1.TextField8[0],

form1.Page1.TextField8[1],

form1.Page1.TextField8[2],

form1.Page1.TextField8[3],

form1.Page1.TextField8[4],

form1.Page1.TicketDate,

form1.Page1.TicketTime,

form1.Page1.UserPhone")
0 Replies