how to get checkboxlist value ?

1
0
-1

how to get checkboxlist value ?

4 answers

1
+1
-1
                      Hi,

               1) On your form page, select your checkboxList.
               2) Go to Genral>Data
                   Now In first option Available Values Click on edit option that is near the box.
                   Then Selct Script in the option list then 
                   write this groovy script  -   ["Yes","No"] 
                  and in Return Type browse java.util.list then click ok.
             3) Now in Output Operation select the variable where you will store a value make sure your variable data type must be String.
             4) In Takes value of Select your checkBoxList : field_CheckBoxList.

1
0
-1

How can I do this in version 7.4?
thanks!

1
0
-1

I think that u can use a java.util.list variable to store the data.

1
0
-1

Hi,

  • On your form page, select your checkboxList.
  • Go to General > Data > Output operations
  • Select a variable where you'll store the value (the variable must be multiple since 2 box can be checked)
  • Select your checkBoxList : field_CheckBoxList.

This is the same method for every widget !

Notifications