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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Set, ResetForm, and Ed...
Power Apps
Unanswered

Set, ResetForm, and EditForm for multiple forms

(0) ShareShare
ReportReport
Posted on by 44

I've designed my powerapp with a homescreen tab container showing three fields in my gallery (with gallery tabs) with a view icon and and edit icon. 

OnSelect I want to set and resetform to multiple components (forms linked with a Ref ID to the masterform) of a questionnaire on the contentscreen with a gallery of tabs.

 

Current the edit icon uses: Set(varRecord, ThisItem); ResetForm(formPIAIntro);EditForm(formPIAIntro);Navigate(ContentScreen) and works fine for only one of my tabs on the content screen, but not the other four.  the other four are defaulted to Newform.

 

How can I set, ResetForm and Editform for the other tabs on my content screen? I've tried declaring all forms in the statement above with negative results and get errors on the OnSelect.  I've tried the following as an experiment: Set(varRecord, ThisItem); ResetForm(formPIAIntro + questionnaire);EditForm(formPIAIntro + questionnaire);Navigate(ContentScreen)

 

Do I need to take another approach?

 

Categories:
  • timl Profile Picture
    37,287 Super User 2026 Season 2 on at

    @wrightcomply 

    The syntax to reset multiple forms would look like this (on the assumption that questionnaire is the name of a form):

    Set(varRecord, ThisItem); 
    ResetForm(formPIAIntro);
    EditForm(formPIAIntro);
    ResetForm(questionnaire);
    EditForm(questionnaire);
    Navigate(ContentScreen)

     

Under review

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

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 402 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 296 Most Valuable Professional

Last 30 days Overall leaderboard