This post is based on this thread:
http://www.acrobatusers.com/forums/aucbb/viewtopic.php?id=22067
----
I'm working with this form below that based on the thread above except somehow my check boxes disappear when I try unchecking the box. Any ideas why my boxes disappear?
Don't know if it's because I'm working with tables but I have a column in a table that's called New Goals and those boxes don't disappear. Here's the code I'm using for that column.
---------------
if (form1.Page1.Table4.Row1.NewGoal1.NewGoal1.rawValue == 1)
{Goal1.presence = "visible"
}
else
{Goal1.presence = "hidden"
}
if (form1.Page1.Table4.Row1.NewGoal1.NewGoal1.rawValue == 1)
{Goal1.Table5.Row1.Goal1.Goal = "1"
}
-----------
Then in another column in the same table which is labeled Previous Goal Revised. I have this code:
if (form1.Page1.Table4.Row1.Rgoal1.RevisedGoal1.rawValue == 1)
{RevisedGoal1.presence = "visible"
}
else
{RevisedGoal1.presence = "hidden"
}
if (form1.Page1.Table4.Row1.Rgoal1.RevisedGoal1.rawValue == 1)
{RVGOAL1.Table5.Row1.Goal1.Goal = "1"
}
-----------
I'm attaching the form so you can see the problem I'm having.
http://www.narcofreedom.com/forms/keep.pdf
If you click on Page 1 below where in the column says "Previous Goal Revised" It's suppose to unhide a page called RevisedGoal1.
Also in that same table in the column that says "New Goal" that also unhides a page called Goal1.
Thank you!
there is a typing error in your script.
The object path you typed in you syntax does not exist in your form, for example.
And you missed the ; at the end of the code lines.
Wrong syntax
[color=#FF0000] form1.Page1.Table4.Row1.NewGoal1.NewGoal1 [/color]
Correct syntax
[color=blue] form1.Page1.Table4.Row1.Ngoal1.NewGoal1 [/color]
radzmar
• LoveCycle Blog
Documents you need:
• LiveCycle Designer ES2 Docs