Conditional visibilty of fields wont work


hi!

i trying hide field depending on selection of 2 radio buttons. searched forums , tried couple of notations. however, doesn't work. last try this:

----- f.p1.radiobuttonlist[0].#field[1]::change - (javascript, client) -----------------------------

if (this.rawvalue == true) {
getfield("checkbox1[5]").display = display.hidden;
}

i tried i.e.

if (this.rawvalue == true) {
f.p1.checkbox1[5].presence = "invisible";
}

so, what's wrong?

how can check script in adobe designer?

and designer 7 scripts run in acrobat 5?

cheers
tom

by default, 2 radio buttons in same group, specified item values 1 , 2 (unless changed them). try below 1 value of radio button makes checkbox invisible when clicked.

if (this.rawvalue == 1) {
f.p1.checkbox1[5].presence = "invisible";
}


More discussions in LiveCycle pre-ES (6.x and 7.x) discussions


adobe

Comments