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

Page close javascript like Adobe Pro

Avatar

Avatar
Boost 1
Level 1
selvaka
Level 1

Like

1 like

Total Posts

6 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
selvaka
Level 1

Like

1 like

Total Posts

6 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
selvaka
Level 1

12-09-2017

Hi,

I just want to show a popup when the user exit from a particular page in a Dynamic form in LC?

Accepted Solutions (0)

Answers (4)

Answers (4)

Avatar

Avatar
Validate 1
Level 4
mouslander
Level 4

Likes

23 likes

Total Posts

298 posts

Correct Reply

27 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile

Avatar
Validate 1
Level 4
mouslander
Level 4

Likes

23 likes

Total Posts

298 posts

Correct Reply

27 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile
mouslander
Level 4

26-09-2017

yes that makes sense. When the user gets to the first field on section E you would need to trigger a validation on that fields On Enter event to set up a message if the fields are empty. There are several ways to do this depending on how complex section D is. If there are only a couple fields you could do something simple like:

If(field1.rawValue == null || field2.rawValue = null || field3.rawValue = nul){

pop up a message box telling user they need to complete the fields

setfocus back to the section

}

Avatar

Avatar
Boost 1
Level 1
selvaka
Level 1

Like

1 like

Total Posts

6 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
selvaka
Level 1

Like

1 like

Total Posts

6 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
selvaka
Level 1

26-09-2017

Thank you for your response. A form has few sections, say for example Section A to Section K. Each section in a different page. Section D is more important than other sections. If the user does not provide answers any one of the questions in Section D and he moves on to the next section promptly he should get a popup alert like, "This is mandatory to fill all questions in Section D".

Hope it is clear and you will reply soon. Thank you.

Avatar

Avatar
Validate 1
Level 4
mouslander
Level 4

Likes

23 likes

Total Posts

298 posts

Correct Reply

27 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile

Avatar
Validate 1
Level 4
mouslander
Level 4

Likes

23 likes

Total Posts

298 posts

Correct Reply

27 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile
mouslander
Level 4

22-09-2017

I am not sure what you mean when the user exits a page? can you explain this a bit better

Avatar

Avatar
Boost 1
Level 1
selvaka
Level 1

Like

1 like

Total Posts

6 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
selvaka
Level 1

Like

1 like

Total Posts

6 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
selvaka
Level 1

14-09-2017

Can anyone help the question above?