Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9656

setSelectedValue() on Radio Button only executes one time in Design Studio 1.2

$
0
0

Using Design Studio 1.2 - I've placed an image on our dashboard that acts as refresh button.  When the image is clicked, two radio buttons on the screen should get reset to their default values.  The code only executes properly the first time, and any subsequent try does nothing.  Does anyone know why this might be happening?

 

Step 1. Place the image on the screen

Capture1.PNG

 

Step 2. Add code to On Click event to change values of two Radio Buttons: RB_ORG_LEVEL and RB_YEAR.

Capture5.PNG

 

Step 3. Change values in both Radio Buttons to any value but their default value. 

Capture3.PNG

Capture4.PNG

 

Step 4. Click the refresh image the first time, and both values get set back to their default values ("Entire Org" and "Current Year").

Capture8.PNG

Capture9.PNG

 

Step 5. Click the refresh image the second time, and even though the code programmatically sets them to their default values ("Entire Org" and "Current Year"), the change doesn't occur. 

Capture6.PNG

Capture7.PNG

 


Viewing all articles
Browse latest Browse all 9656

Trending Articles



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