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

sittingfairy2
Community profile sittingfairy2 Level 1
Job title here
Location here
4 BADGES
Level 1

Level 1

Learn more
Joined the community 18-04-2013 6:38:45 AM
Offline
Top badges earned by sittingfairy2
Customize the badges you want to showcase on your profile
Re: How to limit message box to appear only once not multiple times
Avatar
Give Back 3
Level 1
sittingfairy2
Level 1

Likes

0 likes

Total Posts

6 posts

Correct reply

0 solutions
Top badges earned
Give Back 3
Give Back
Ignite 1
Validate 1
View profile
sittingfairy2
- Adobe LiveCycle
Thanks Bern87 for trying to help. I appreciate it.

Views

657

Likes

0

Replies

0
Re: How to limit message box to appear only once not multiple times
Avatar
Give Back 3
Level 1
sittingfairy2
Level 1

Likes

0 likes

Total Posts

6 posts

Correct reply

0 solutions
Top badges earned
Give Back 3
Give Back
Ignite 1
Validate 1
View profile
sittingfairy2
- Adobe LiveCycle
Hi Wasil,I moved the script to the dependent field and placed the following script and it worked! Now the message box only appears once. I put it in the calculate event. Thanks!if ( topmostSubform.Page1.Text19.rawValue > 132) { xfa.host.messageBox("Maximum Sick Time is 132"); topmostSubform.Page1.Text19.rawValue = 132;}

Views

535

Likes

0

Replies

0
Re: How to limit message box to appear only once not multiple times
Avatar
Give Back 3
Level 1
sittingfairy2
Level 1

Likes

0 likes

Total Posts

6 posts

Correct reply

0 solutions
Top badges earned
Give Back 3
Give Back
Ignite 1
Validate 1
View profile
sittingfairy2
- Adobe LiveCycle
Hi Wasil,I removed the script from the validate event and now the message box comes up only once, but only if I actually click on the field. The field that has the threshold value is automatically calculated so people do not click on this field, therefore, the message box will not appear for them. In addition, the number does not automatically go to 132. I tried putting the script in other events but the script does no funciton properly. Which event do you recommend?

Views

536

Likes

0

Replies

0
Re: How to limit message box to appear only once not multiple times
Avatar
Give Back 3
Level 1
sittingfairy2
Level 1

Likes

0 likes

Total Posts

6 posts

Correct reply

0 solutions
Top badges earned
Give Back 3
Give Back
Ignite 1
Validate 1
View profile
sittingfairy2
- Adobe LiveCycle
Hi Ber,Thanks for responding. The event is validate and the language javascript. I am not sure why the message box appears so many times. I hope we can find out why.Thanks again!

Views

537

Likes

0

Replies

0
How to limit message box to appear only once not multiple times
Avatar
Give Back 3
Level 1
sittingfairy2
Level 1

Likes

0 likes

Total Posts

6 posts

Correct reply

0 solutions
Top badges earned
Give Back 3
Give Back
Ignite 1
Validate 1
View profile
sittingfairy2
- Adobe LiveCycle
Hi,I am using the following script that makes a message box appear. The problem is that people are complaining that the message box appear multiple times and that you have to continusly click ok like 11 times for the "warning javascript window" message box to go away. Can I use a different script or reduce the amount of times that the message box appears? if (this.rawValue > 132) { xfa.host.messageBox("Maximum Sick Time is 132"); this.rawValue = 132;Thanks!

Views

3.2K

Likes

0

Replies

8
Maximum value in field based on dropdown menu selection in another field
Avatar
Give Back 3
Level 1
sittingfairy2
Level 1

Likes

0 likes

Total Posts

6 posts

Correct reply

0 solutions
Top badges earned
Give Back 3
Give Back
Ignite 1
Validate 1
View profile
sittingfairy2
- Adobe LiveCycle
Hi,I am trying to set a maximum value in a field based on a selection from a drop down menu in another field. In other words, there are three selections in the drop down menu (0-2, 2-10, and 10+). If they select 0-2 then the maximum amount allowed in another field is 10. If they select 2-10 then the maximum amount is 15 and if they enter 10+ then the maximum amount is 22. I would like a message box to appear and state that the amount of maximum vacation is .... only if the amount in that field e...

Views

378

Likes

0

Replies

0