Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all articles
Browse latest Browse all 5571

Radio Button Group-validate that a radio button is selected

$
0
0

Hi,

 

 

I am using Designer ES4 and have not been able to figure out a script to assure that in each of 15 radio button groups (each an exclusion group) that the user has selected one of the 7 radio buttons before a formcalc calculation (sum) is done.

 

 

I've tried to add formcalc script to the calculate event which has the formcalc sum for each group: if buttongrp1.rawValue == 0 or 1, or 2...6, then sum, else show text box ("please complete"). Haven't been able to get this to work.

 

 

(I don't think I can mix formcalc and javascript in the same calculate event?)

 

 

Any suggestions or sample script would be appreciated.

 

 

Much thanks.


Viewing all articles
Browse latest Browse all 5571

Trending Articles