cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
cyberco01
Level 8

Check Box value not updated after save of form

Hi Dears,

 

I have a powerapps form which saves data to Sharepoint List. It has a check-box data card in it. I click on New, click on check-box (ticked) and save form. The value is updated in the sharepoint list. But, the moment i click on save, the check box tick disappears. Also, in Edit Mode, the check box appears as not ticked.

In the update property of data card (Bank Transfer_DataCard1) i have put - BTCheckbox.Value

 

Kindly help me urgently as I am unable to resolve this.CheckBox1_Properties.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Check Box value not updated after save of form

@cyberco01 

 

As per your screenshot, you are updating the OnSuccess property of the form, is it a requirement?
 
I replicated the same scenario to see if the checkbox input is getting updated and it was successfully saved and updated on my PowerApps. Please check for the below validations:
1) The Default property of your Checkbox control, is set to "Parent.Default".
2) The update property of DataCard is set to "Checkbox1.Value".
3) I have nothing on the OnSuccess property of my Edit form.
4) The submit button has the "OnSelect" property as "SubmitForm(Form1)".
 
Please write the formulas without Quotes(").
 
As per my Screenshot, I have created an edit form based on Gallery Item selection.
MicrosoftTeams-image (104).png

Hope this Helps!

6 REPLIES 6
Super User
Super User

Re: Check Box value not updated after save of form

@cyberco01 

 

On the Save button, please add an action to refresh the data source, so that you can see the latest value.
 
Expression: SaveForm(Form); Refresh(DataSource)
 
Hope this Helps!
 
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
cyberco01
Level 8

Re: Check Box value not updated after save of form

Hi @yashag2255 ,

 

I am not getting the function - SaveForm(Form). Kindly help.

 

;SaveForm_OnSuccess.PNG

Super User
Super User

Re: Check Box value not updated after save of form

Hey @cyberco01 

 

Please replace SaveForm function with SubmitForm and this should work.
 
Please note that in refresh(dataSource), the dataSource is actually the name of the data source (in this case it should be the name of your sharepoint list)
cyberco01
Level 8

Re: Check Box value not updated after save of form

Hi @yashag2255 ,

 

I did as suggested, still it did not work. on click of save, the ticked check box becomes unticked. Any other setting that I need to take care. My check box is a data card.

Super User
Super User

Re: Check Box value not updated after save of form

@cyberco01 

 

As per your screenshot, you are updating the OnSuccess property of the form, is it a requirement?
 
I replicated the same scenario to see if the checkbox input is getting updated and it was successfully saved and updated on my PowerApps. Please check for the below validations:
1) The Default property of your Checkbox control, is set to "Parent.Default".
2) The update property of DataCard is set to "Checkbox1.Value".
3) I have nothing on the OnSuccess property of my Edit form.
4) The submit button has the "OnSelect" property as "SubmitForm(Form1)".
 
Please write the formulas without Quotes(").
 
As per my Screenshot, I have created an edit form based on Gallery Item selection.
MicrosoftTeams-image (104).png

Hope this Helps!

cyberco01
Level 8

Re: Check Box value not updated after save of form

Thanks a Lot for the help. Above solution worked.

Helpful resources

Announcements
firstImage

PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.

firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 476 members 5,399 guests
Recent signins:
Please welcome our newest community members: