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 Platform Community / Forums / Power Apps / How to Stop OnChange e...
Power Apps
Unanswered

How to Stop OnChange event of Dropdown List

(0) ShareShare
ReportReport
Posted on by 34

 

Hi,

I am using the Dropdown list. While Inserting the Record in the sharepoint list(Personal Info form) ,OnChange event of Drop Down list(depends on Text) I am navigating to another form(Experience Details) Where I am Inserting Information and Coming Back to Personal Info Form). Which is working fine.

But when I am editing the form When I have to Navigated to Personal Info Form  I will directly Navigating to Experience Details form.

I think this is happened due to OnChange of the DropDown List.

How to Stop it.

 

This is the Code onChange of DropDown

 varEditMode is variable which will decide Its New Entry of Edit the Entry

If((varEditMode="0") And ((cmbLastWorking.Selected.Value="Currently") Or (cmbLastWorking.Selected.Value="Last Working")),
Navigate(scrExperienceDetails));

If((varEditMode="1") And ((cmbLastWorking.Selected.Value="Currently") Or (cmbLastWorking.Selected.Value="Last Working")),
Navigate(scrExperienceDetails));

DropDown Problem.jpg

Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    153,026 Most Valuable Professional on at

    Hi @dipakbadgujar ,

    Yes, that is one of the quirks (some would say bugs) of Combo Boxes OnChange event firing when a Form is opened. There are a couple of strategies. If for instance you opened the form in View Mode and (obviously) only wanted to fire the event in Edit Mode, you could make the OnChange conditional on being in Edit mode (so it would not fire when the form is opened). Another one (which I have used once) is to make the OnChange also conditional on a Variable being true. Use a Global variable and set it to false before you enter the screen and then have a hidden timer (2-3 seconds will do) setting it to true OnTimerEnd.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

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

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 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard