Avatar

Level 10

Hi,

Is the production state a series of radio buttons or a drop-down list?

In either case make sure to "specify values" in the Object / Binding tab.DEV = 1;  TEST = 2; ACCEPT = 3; and PRODUCTION = 4.

Then on the exit event have somethin along the lines of:

if (this.rawValue <= 3)

{

     form1.conditionsPage.presence = "hidden";

}

if (this.rawValue == 4)

{

     form1.conditionsPage.presence = "visible";

}

If using radio buttons you would need the script in the exit event of all radio objects in the group. That way a dropdown list is better. The second if statement could be replaced with an else statement if you like, I am just being specific.

Hope that helps,

N.