Hi
Im working on a form for a print room.
I have 2 submit buttons which depending on what options are selected it shows the appropriate submit button (one to marketing - on to studio).
Now what it is, is I have 5 check boxes when any of them are checked they have to show the marketing button if they havent been checked then the studio button becomes active.
iv been trying to use the hade/show function but that dont seem to work.
Can anyone help.
Thanks.
Nav
Example:
// if check box 1 is checked then display field
if (this.getFeld("CheckBox1").value != "Off")
this.getField(event.targetName).display = display.visible;
else
this.getField(event.targetName).display = dispaly.hidden;
LiveCycle Designer uses the "presence" property with the values of "visible", "invisible", and "hidden".
Example (FormCalc)
// if check box 1 is checked then display field
if (CheckBox1 NE "Off") then
$.presence = "visible";
else
$.presence = "invisible";
endif
George Kaiser