Avatar

Level 1

HI, I am using LiveCycle Designer 9.0.0.2 to create a fillable form. I have 8 check boxes and eight circles. They are grouped together like check1 and check2 with circle 1 and circle2, check3 and check 4 with circle3 and circle4, etc.. I used the action builder to set the following: When check1 is checked circle1 is visible and circle2 is hidden and check2 is unchecked, if check1 is unchecked circle1 is hidden. When check2 is checked circle2 is visible and circle1 is hidden and check1 is unchecked. If check2 is unchecked circle2 is hidden. The set the same actions for each grouping of check boxes and circles.

If I set the circles hidden by default the form acts as follows: If I place a check in either check1 or check2 the actions for that grouping work perfectly, however, none of the other grouping function. The only action that performs if I check/uncheck the other groupings is that it will uncheck the other box if it was checked. It does not make the circles visible. If I close the form and reopen it in Acrobat and choose to place a check in a different set of check boxes like check5 or check6 then that grouping works fine but the other three groups function as described above.

If I set all the circles as visible initially: Everything seems to function in principle. The drawback is that you would have to check and then uncheck the box next to the circle that you did not want on the form to hide it.

Below is a sample of the code that was created by the Action Builder for each check box. Can anyone figure out why it only works for one set of boxes and circles?

topmostSubform.Page1.P[2].Alarm2Yes::change - (JavaScript, client)

//+ GENERATED - DO NOT EDIT (ID:5037BA63-9F7B-4831-B5C5-F7966E9ADA1D CRC:2083329298)

//+ Type: Action

//+ Result1: SetPresence("$Node2","hidden")

//+ Node2: topmostSubform[0].Page1[0].P[2].Circle3[0]

//+ Node1: topmostSubform[0].Page1[0].P[2].Alarm2Yes[0]

//+ Condition1: CheckBox("$Node1","unchecked")

//+ ActionName: Alarm2Yes.unchecked

if

(this.rawValue == "0") {

this.resolveNode("Circle3").presence

= "hidden";

}

//-

//+ GENERATED - DO NOT EDIT (ID:1EC83D59-C652-45D1-8196-49D2B9D415AD CRC:1730457814)

//+ Type: Action

//+ Result3: SetPresence("$Node4","hidden")

//+ Result2: SetFieldValue("$Node3","tovalue","0")

//+ Result1: SetPresence("$Node2","visible")

//+ Node4: topmostSubform[0].Page1[0].P[2].Circle4[0]

//+ Node3: topmostSubform[0].Page1[0].P[2].Alarm2No[0]

//+ Node2: topmostSubform[0].Page1[0].P[2].Circle3[0]

//+ Node1: topmostSubform[0].Page1[0].P[2].Alarm2Yes[0]

//+ Condition1: CheckBox("$Node1","checked")

//+ ActionName: Alarm2Yes.checked

if

(this.rawValue == "1") {

this.resolveNode("Circle3").presence

= "visible";

this.resolveNode("Alarm2No").rawValue

= "0";

this.resolveNode("Circle4").presence

= "hidden";

}

//-

Thanks