Hello Community,
I have an app with a form for submitting data in a SharePoint List. When form is submitted, this is also getting cleared (resetform).
I added a checkbox to some of the fields and when this is checked I want the text that is written in the datacardvalue to not get cleared when form is submitted.
Would appreciate any help on this!
Thank you in advance for your support!
I need when checkbox is checked to store the information, or I think it makes more sense to say to 'block' the datacard so it won't get reset when form is being submitted.
This is the form:
As you can see I have 5 datacards with checkboxes.
Submit button is storing all datacard's info in a collection displayed in a gallery and it is resetting the form:
As mentioned above if one of those checkboxes or even all 5 are checked somehow to block those datacard's (checked) and reset only the ones without check's and without checkboxes. This is for helping the users to not have to rewrite those fields again for submitting another line with same info for those fields.
The formula looks good.
What is it exactly that you are seeing? That if the Checkbox is checked that the information in the textinput is being recorded? Or, that the checkbox is unchecked and it does not record what is in the textinput?
Hi @RandyHayes,
Thank you for your reply!
I have tried your method, but the text inside the datacardvalue is still being reseted. Can you please advise ?
This is all handled in your Update property of your datacard.
For example, if you have a checkbox for a field that is a text input.
You would change the Update property to:
If(CheckBoxName.Value,
Self.Default,
textInputControl.Text
)
If the Checkbox is checked, then the input is ignored and the original value is written. If not, then the text input is written.
I hope this is helpful for you.
WarrenBelz
791
Most Valuable Professional
MS.Ragavendar
410
mmbr1606
275
Super User 2025 Season 1