web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Under review by Community Managers

Under review

Thank you for your post! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Checkbox, in gallery not resetting post submit

Posted on by 25

Hi Team,

 

I have a gallery with 23 questions and for each question, I have 3 controls one radio button with Yes/No/NA, a Comment text box and a checkbox which is linked to the radio button and comment box.

For the screen OnVisible property, I have added code 
UpdateContext({ResetCheckbox:true});
UpdateContext({ResetCheckbox:false})

 

The ResetCheckbox, I have used on reset Property of the checkbox. The default value of the checkbox I have the code -  If(!IsBlank(AnsRadio) && !IsBlank(txtComments),true,false). This is to ensure all questions are answered using radio button and comments added for each of them, only then the Submit button is made visible. On Submit button I have used ForAll gallery items to be patched in SharePoint list with necessary values updated in the form and gallery screen.

Once Submit, it is navigated to the summary page and once I click new again the Checkbox does not get reset to uncheck mode. It still shows checked. The radio button responses are collected in a variable for onchange property as Set(ColAns,AnsRadio.Selected.Value).

Could you please assist in how to reset the gallery as blanks for user to update their next set of responses.

Thanks in advance for your support.

 

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard

Featured topics