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
  • Two things which come into mind without seeing your code are :
    1.May be your choice values and value are not having the same values, i mean like lets say for eg your choic values has {"A","B","C"} and the value contain some other value other than these values.
    2.Try giving the placeholderLablel parameter in your code as when the first time the value of the rule input or the local variable where your are saving the selection may have a null value so it might throw an error.
    3.In order to show the value in the next screen please verify that you are saving it into rule input not the local variable(if you are not using the sail wizard).
Reply
  • Two things which come into mind without seeing your code are :
    1.May be your choice values and value are not having the same values, i mean like lets say for eg your choic values has {"A","B","C"} and the value contain some other value other than these values.
    2.Try giving the placeholderLablel parameter in your code as when the first time the value of the rule input or the local variable where your are saving the selection may have a null value so it might throw an error.
    3.In order to show the value in the next screen please verify that you are saving it into rule input not the local variable(if you are not using the sail wizard).
Children
No Data