# CheckList value

**URL:** <https://community.ofelia.com/t/checklist-value/7094>\
**Category:** Q&A\
**Created:** [10 March 2016 11:26 UTC](https://community.ofelia.com/t/checklist-value/7094 "2016-03-10T11:26:44Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![basrijashari2](https://avatars.discourse-cdn.com/v4/letter/b/8e7dd6/32.png) [@basrijashari2](https://community.ofelia.com/u/basrijashari2)\
**Post date:** [10 March 2016 11:26 UTC](https://community.ofelia.com/t/checklist-value/7094/1 "2016-03-10T11:26:44Z")

</div>

I have a checklist in my UIFrom where available values are comma separated strings. How can i get the selected values? The version of Bonitasoft is 7.1.5

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/flex013/uploads/community_bonitasoft/original/2X/6/6b7b18c0478f2645369e82e009b65e3b97f2cc12.svg) [@system](https://community.ofelia.com/u/system)\
**Post date:** [11 March 2016 13:28 UTC](https://community.ofelia.com/t/checklist-value/7094/2 "2016-03-11T13:28:08Z")

</div>

Hi,

To get the selected values you need to bind the Checklist widget “Selected values” property to a form variable. If you need to get the information for your process execution, use “Data sent on click” property on submit “Button” widget and process/step contract.

---

<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:** [20 May 2017 00:17 UTC](https://community.ofelia.com/t/checklist-value/7094/3 "2017-05-20T00:17:10Z")

</div>

Hi, I have the same question. I’m using version 7.4 but I’m just a beginner in Bonita and the answer is not very informative to me. Can somebody please help me with this? Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/flex013/uploads/community_bonitasoft/original/2X/6/6b7b18c0478f2645369e82e009b65e3b97f2cc12.svg) [@system](https://community.ofelia.com/u/system)\
**Post date:** [22 May 2017 07:52 UTC](https://community.ofelia.com/t/checklist-value/7094/4 "2017-05-22T07:52:53Z")

</div>

Can you share your current process (as .bos file) and describe your use case (are you trying to display a dynamic list of checkbox, where do you store the list of checkbox to display, where do you want to save user selection…)?

---

<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:** [22 May 2017 22:53 UTC](https://community.ofelia.com/t/checklist-value/7094/5 "2017-05-22T22:53:03Z")

</div>

My process is very simple. I have 2 tables in my BDM:

**Event**  
isApproved - Boolean  
eventDate - Date  
eventResources - Resources

**Resources**  
resourceValue

Then I have an instantiation form where users can add the eventDate and then select the resources from a Checklist.  
The values are not dynamic, just a comma-separated list in the “Available values” property (Laptop, Projector, Food)

I don’t know if I’m doing well trying to save the user selection in my BDM. Should I do it in a different way? like in a Process Variable?

The form is working well but I don’t know how to bind the selection to the formInput variable and save it (if that is the right way to do so)

My formInput variable is initialized like this:  
{  
“eventInput” : {  
“eventDate” : null,  
“eventResources” : [{“resourceValue” : “”}]  
}  
}

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/flex013/uploads/community_bonitasoft/original/2X/6/6b7b18c0478f2645369e82e009b65e3b97f2cc12.svg) [@system](https://community.ofelia.com/u/system)\
**Post date:** [21 June 2017 14:36 UTC](https://community.ofelia.com/t/checklist-value/7094/6 "2017-06-21T14:36:31Z")

</div>

If I understand correctly you have a business data with type “Resources” and you have multiple entry in database for this data type. For example you have one entry for Laptop, another one for Projector…

So in your instantiation form you want to be able to select which resources will be required by an event by selecting them from a checkbox list.

Is my understanding correct?

It’s not clear to me why you are mentionning a comma-separated list. For a given Resources does resourceValue store a list of resources name separated by comma (e.g.: Laptop, Projector, Food) or only one resource (e.g.: Laptop)?

Thanks
