Hello, I am having trouble resetting the controls within a form when a new form is created and when an existing form record is opened. In either case, the last checked checkbox records are still in place when the form opens. I have tried numerous attempts to remove the checks when starting a new form or to reset the correct checks from the existing record unsuccessfully. My scenario is that I have placed a checkbox within a gallery within a form control to display the choices of a SharePoint list choice column.
Below are images of the button control that opens a new form, the button control that opens and existing record, the latest attempt to reset using the button control that submits the record, and an image of the error that displays when submitting the form with this newest submit button formula.
How can I clear these checkboxes when a new form is opened and correctly populate the checkboxes when the existing record is
called? Thanks for your consideration!
New form submit button

Existing record submit button

Latest form submit button attempt

Error Message
