# how to get checkboxlist value ?

**URL:** <https://community.ofelia.com/t/how-to-get-checkboxlist-value/4887>\
**Category:** Q&A\
**Created:** [21 July 2014 08:15 UTC](https://community.ofelia.com/t/how-to-get-checkboxlist-value/4887 "2014-07-21T08:15:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ahmadnasserit](https://avatars.discourse-cdn.com/v4/letter/a/a3d4f5/32.png) [@ahmadnasserit](https://community.ofelia.com/u/ahmadnasserit)\
**Post date:** [21 July 2014 08:15 UTC](https://community.ofelia.com/t/how-to-get-checkboxlist-value/4887/1 "2014-07-21T08:15:29Z")

</div>

how to get checkboxlist value ?

---

<div class="post-metadata">

**Author:** ![florian.baillagou](https://avatars.discourse-cdn.com/v4/letter/f/b9bd4f/32.png) [@florian.baillagou](https://community.ofelia.com/u/florian.baillagou)\
**Post date:** [23 July 2014 11:29 UTC](https://community.ofelia.com/t/how-to-get-checkboxlist-value/4887/2 "2014-07-23T11:29:17Z")

</div>

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 !

---

<div class="post-metadata">

**Author:** ![sylvain.bailly](https://avatars.discourse-cdn.com/v4/letter/s/f17d59/32.png) [@sylvain.bailly](https://community.ofelia.com/u/sylvain.bailly)\
**Post date:** [23 July 2014 11:49 UTC](https://community.ofelia.com/t/how-to-get-checkboxlist-value/4887/3 "2014-07-23T11:49:49Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![chaheti1992](https://avatars.discourse-cdn.com/v4/letter/c/3ec8ea/32.png) [@chaheti1992](https://community.ofelia.com/u/chaheti1992)\
**Post date:** [24 July 2014 11:29 UTC](https://community.ofelia.com/t/how-to-get-checkboxlist-value/4887/4 "2014-07-24T11:29:38Z")

</div>

```
                      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.

```

---

<div class="post-metadata">

**Author:** ![MROMEROVAL](https://avatars.discourse-cdn.com/v4/letter/m/f08c70/32.png) [@MROMEROVAL](https://community.ofelia.com/u/MROMEROVAL)\
**Post date:** [19 May 2017 23:59 UTC](https://community.ofelia.com/t/how-to-get-checkboxlist-value/4887/5 "2017-05-19T23:59:21Z")

</div>

How can I do this in version 7.4?  
thanks!
