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
BedrockMission!

Learn More

View all

Sign in to view all badges

Reset button and message box.

Avatar

Avatar
Validate 1
Level 1
martynd4832568
Level 1

Likes

2 likes

Total Posts

14 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 1
martynd4832568
Level 1

Likes

2 likes

Total Posts

14 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile
martynd4832568
Level 1

04-04-2017

Newbie using Using LC ES4.   I have a Reset button. On click I would like to show a message box with "OK" and "Cancel" buttons, I would like the OK button to reset the form, and the Cancel to just close the message box and return to the form. I can do the reset, but the cancel escapes me.

I'm using this to generate the message box:

xfa.host.response("Continue with Reset? This action cannot be undone!", "Are You Sure?", 4,1);

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Springboard
MVP
Magus069
MVP

Likes

143 likes

Total Posts

1,072 posts

Correct Reply

155 solutions
Top badges earned
Springboard
Validate 1
Ignite 3
Ignite 1
Establish
View profile

Avatar
Springboard
MVP
Magus069
MVP

Likes

143 likes

Total Posts

1,072 posts

Correct Reply

155 solutions
Top badges earned
Springboard
Validate 1
Ignite 3
Ignite 1
Establish
View profile
Magus069
MVP

04-04-2017

Hi there,

You can simply use a messageBox to do this.

//2 -> Question

//1 -> OK Cancel

Hope this help!

Answers (1)

Answers (1)

Avatar

Avatar
Validate 1
Level 1
martynd4832568
Level 1

Likes

2 likes

Total Posts

14 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 1
martynd4832568
Level 1

Likes

2 likes

Total Posts

14 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
Applaud 5
View profile
martynd4832568
Level 1

04-04-2017

Many thanks - works perfectly - super quick response too!