I am working on a SAIL Form, using ''a!checkBoxField()' as one of th

I am working on a SAIL Form, using ''a!checkBoxField()' as one of the field. There are 2 issues that i am facing this this component.

1. Even though i select values on the checkbox, selection seems disappear when form refreshes with other field selection on the form. But able to submit the form and retrieve the values selected on check box. Isn't there any way to retain the selection upon refresh ?
2. Value that i use to "saveInto:" on the checkbox is throwing error when i use the same variable for "value:" Unable to retrieve the selection in next form with the help of the saveInto variable. Please let me know if there is any solution ?

OriginalPostID-148489

OriginalPostID-148489

  Discussion posts and replies are publicly visible

Parents
  • First and foremost thankyou all for your responses. Sorry that i couldn't reply immediately.

    nikhil: please find the code and the issue descriptions attached
    goutham: variable is used no where in the form except for this checkbox
    amit: required is false, only one variable get updated with checkbox values
    harsha: You are right. choice value and value are not same. And i guess it is not possible for it to be same.
    initially the value will be null as none selected by default and later value will be subset of choice values as only few may be selected of all. Yes i am passing the process variable as activity parameters and saving back. it is working fine in that scenario. But actual problem is with choiceValues, value and saveInto

    code_issues_description.txt

Reply
  • First and foremost thankyou all for your responses. Sorry that i couldn't reply immediately.

    nikhil: please find the code and the issue descriptions attached
    goutham: variable is used no where in the form except for this checkbox
    amit: required is false, only one variable get updated with checkbox values
    harsha: You are right. choice value and value are not same. And i guess it is not possible for it to be same.
    initially the value will be null as none selected by default and later value will be subset of choice values as only few may be selected of all. Yes i am passing the process variable as activity parameters and saving back. it is working fine in that scenario. But actual problem is with choiceValues, value and saveInto

    code_issues_description.txt

Children
No Data