Quantcast
Channel: Adobe Community : Discussion List - LiveCycle Forms
Viewing all articles
Browse latest Browse all 1160

Radio Buttons - Deselect

$
0
0

I have created a form in LiveCycle designer 9. I have radio buttons and want to be able to put in Script so that if the button is accidentally hit, it can be deselected. Below is how I have them layed out.

Radio Button Layout.png

I have gone in and used the following Script but it does not work.  What am I doing wrong?

In the mouse down i have:

 

this.initValue = this.rawValue;

    

 

In the mouse up I have:

 

var localExport = null;

for(var i=0' i<this.nodes.length;1==)

{

     if(this.nodes.item(i).className == "items")

     {

          localExport = this.nodes.item(i).nodes.item(0).value;

          break;

     }

}

if(this.initValue==localExport)


Viewing all articles
Browse latest Browse all 1160

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>