Hi,
I have a checkbox list with [“Yes”, “No”] options.
But I am not able to get “selected” checkbox value in my “Submit” button action.
Can anybody help me, how to get selected status(true/false) value for particular row in checkbox list?
Thank
Manoj
When you design the process you have to add an ACTION to the submit button.
This way you can set a variable to the value of the checkbox.
NOTE: the variable MUST be a process variable if you want to use it in any following step, not a step variable. Temporaries also not allowed in this case.
If you are branching on the submit then you could use a step variable (temporary) but I prefer to use a hardcoded gateway for ease of reading.
Hope this helps,
regards
Seán
Hi,
I have checkboxList1 with data and first column shows the checkbox.
I want to know how to get selected rows?
Can you give some code syntax for that?
Thanks
Manoj
In your Checkbox Details->Data screen, you must set Output Operation to take the values of the field_CheckboxList1, the target must be a list variable.
On the Submit you can add an action to refer to the target variable and get the selected values this way.
This is the only way and it works.
regards
Seán