Forum Discussion
RLUGO
Jan 30, 2023Copper Contributor
Checkboxes on Power Apps form will not save after submitting form via SharePoint
Hello Power Apps community, I have a Power Apps form that is submitted by users from a SharePoint Online list. The form contains several checkboxes, among other fields. My issue is that when a us...
Adnan_Amin
MVP
Hello RLUGO
To display the selected checkboxes in a saved form, you can add a "Checkbox set" control and bind it to a field in the SharePoint list. You can then use a formula in the "Default" property of the control to set its value based on the values stored in the list field. For example:
- Add a "Checkbox set" control to the form.
- Go to the "Data" source of the form, add a new column to the SharePoint list with a "Multiple lines of text" data type.
- In the "Checkbox set" control, set the "Items" property to the list of checkbox options you want to display.
- Set the "Data field" property of the control to the new column in the SharePoint list.
- Set the "Default" property of the control to the following formula:
If(IsBlank(DataCardValue6.Selected), "", DataCardValue6.Selected)
- Save the form and test it by submitting a form with selected checkboxes.
- Open a saved form and you should be able to see the selected checkboxes.
RLUGO
Jan 31, 2023Copper Contributor
The 'Updates_DataCard1' is the data card for the multi-selection dropdown box which also houses all the checkboxes. DataCardValue8 is the actual drop down box which is currently set to visible = false.