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

What event to use

Avatar

Avatar
Validate 50
Level 3
mdawn50
Level 3

Likes

8 likes

Total Posts

346 posts

Correct Reply

6 solutions
Top badges earned
Validate 50
Validate 25
Validate 10
Validate 1
Boost 5
View profile

Avatar
Validate 50
Level 3
mdawn50
Level 3

Likes

8 likes

Total Posts

346 posts

Correct Reply

6 solutions
Top badges earned
Validate 50
Validate 25
Validate 10
Validate 1
Boost 5
View profile
mdawn50
Level 3

28-08-2013

I have a field that calculates a total. I'd like for the total if it's less than or equal to 250.00 to make a subform visible. The end user does not put their cursor in or leave the total field. What event should I use for my script?

Here's the script:

if (this.rawValue <= 250.00) {

    page1.superVisor.presence = "visible";

}

else {

    page1.superVisor.presence = "hidden";

}

Thanks,

MDawn

View Entire Topic

Avatar

Avatar
Validate 10
Level 4
Bibhu_Bikash_Na
Level 4

Likes

37 likes

Total Posts

630 posts

Correct Reply

46 solutions
Top badges earned
Validate 10
Validate 1
Give Back 10
Give Back 5
Give Back 3
View profile

Avatar
Validate 10
Level 4
Bibhu_Bikash_Na
Level 4

Likes

37 likes

Total Posts

630 posts

Correct Reply

46 solutions
Top badges earned
Validate 10
Validate 1
Give Back 10
Give Back 5
Give Back 3
View profile
Bibhu_Bikash_Na
Level 4

02-09-2013

Even if the user does not pue cursor or clicks in the TotalField, still you can use it's exit event. Put the above script in the exit event of the Total Field, then call the xit event, anywehere you want. Like. TotalField.execEvent("exit").

Thanks,

Bibhu.