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 / Display Mode of button...
Power Apps
Unanswered

Display Mode of button is reset to Edit once Form is submitted

(0) ShareShare
ReportReport
Posted on by 3

Hello Power Platform Community,

 

I am highly confused about an actually very simple Problem:
I have a simple Form and currently on the button the following formula which is also working according to Power Apps. The Value is disabled. However the Button is still in Edit mode.

Kevke_1-1679494674560.png

 

 

 

If(
IsBlank(DataCardValue5),
DisplayMode.Disabled,
DisplayMode.Edit
)

 

 

 

However, as soon as I start to fill out the Form ans Select for example the Product, it seems Power Platform is reading the formula and is applying it, the Button is in disabled Mode. However, as soon as I submit the Form and it is resettet, the Button is again in Edit mode.

 

Kevke_2-1679494835638.png

 

What Am I missing here? Thank you!

 

 

Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    on at

    Hi @Kevke , 

     

    The DisplayMode condition is right, there's small update, when you submit the form, then you need to reset that form again.

    Try this - 

    Button OnSelect formula: SubmitForm(Form1);ResetForm(Form1)

     

    Let me know if this works for you & if it is please accept this as a solution

    Thanks 😀

  • Kevke Profile Picture
    3 on at

    Hi @swaminawale

     

    Now I am even more confused haha.

     

    I was having the ResetForm(NewInspectionForm); on my OnSuccess property of the NewInspectionForm.

    Kevke_0-1679495735792.png

     

    So I just removed it from their and put the same formula onto the button as you suggested which solved my problem!

     

    But why?! Why is the ResetForm on my OnSuccess property causing the button to go into Edit Mode when the Form/Screen is being loaded for the first time? Could this be a bug within Power Platform or am I missing something here?

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 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