Reset radiobutton list when check box unchecked


have static pdf registration form working on using livecycle designer 8.2. learn how have radiobutton list reset when particular check box unchecked.

 

when registering event, users have option of attending 1 of 4 optional afternoon workshop sessions. have made workshop radiobuttons hidden until check box checked using following code:

 

(check box named "reg4" -- "yes" i'm going attend 1 of 4 workshops,

radiobutton list of 4 workshops named "radiobuttonlist3")

 

      topmostsubform.page1.reg4::change - (javascript, client)

     if (this.rawvalue == "0") {

       this.resolvenode("radiobuttonlist3").presence = "hidden";

 

when user unchecks "reg4" checkbox after have selected 1 of 4 workshops, radiobutton still checked.

 

what i'm looking have radiobutton list reset (or again hidden) when reg4 button unchecked (after being checked).

 

i hope description clear. possible?

you can set radiobutton "":

radiobuttonlist3.rawvalue = ""; 

 

your if statement should work, 0 shouldn't in quotes:

if (this.rawvalue == 0) {   this.resolvenode("radiobuttonlist3").presence = "hidden"; } 

 

you part of script you're using to show radiobuttons:

if (this.rawvalue == 1) {   radiobuttonlist3.presence = "visible"; } else {   radiobuttonlist3.presence = "hidden"; } 


More discussions in LiveCycle Designer


adobe

Comments

Popular posts from this blog

How to set the order of FAQs instead of alphabetical

Thread: Get UK Keyboard working

how do I change the e-mail address for my merchant account