Tagging Radio Buttons to paragraphs in Form


i have adobe livecycle , trying show specific paragraph when "yes" button chosen , different paragraph when "no" button chosen.

is there way this?

if use check box life easy.....<br /><br />here use if both checkbox , paragraphs on same level on object hierarchy.<br /><br />for yes check box: on click event: js:<br />if (this.rawvalue == 1) {<br />   this.parent.<checkboxno>.rawvalue = 0;<br />   this.parent.<parayes>.presence = "visible";<br />}else {<br />   this.parent.<parayes>.presence = "hidden";<br />}<br /><br />for no check box: on click event: js:<br />if (this.rawvalue == 1) {<br />   this.parent.<checkboxyes>.rawvalue = 0;<br />   this.parent.<parano>.presence = "visible";<br />}else {<br />   this.parent.<parano>.presence = "hidden";<br />}


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


adobe

Comments