How to set checkbox to display hidden feilds?


i trying find way set checkbox on form when user selects makes subform visiable 3 text boxes in it. know how that?

i use following code 'click' or 'exit' event based on situation. 'click' works mouse clicks or [enter] button. remember checkboxes can checked using [space bar]. code not work if user use [space bar] in relation 'click' event.

//this javascript code....
//xfa.host.messagebox(this.rawvalue)

if (this.rawvalue == 0) { //unckecked
xfa.form.form1.subformname.presence = "hidden"
}else { //when checkbox checked
xfa.form.form1.subformname.presence = "visible"
}

good luck,
sekharn.
www.lawson.com


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


adobe

Comments