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 / Buttons not working in...
Power Apps
Unanswered

Buttons not working in live app

(0) ShareShare
ReportReport
Posted on by 5

I have a submit form button in a data card at the bottom of the form. When I run the app in test mode before I publish it, the button works as expected. However, when using the app through the mobile devices or the URL the button does not allow submissions. It is as if there is no "OnSelect" action associated with the button. A thank you message is also supposed to pop up after the "submit" button is pressed which works when testing but not when the version is live.

 

The data source is a sharepoint list but I don't know if that matters. It only works in the test environment but not the live environment, is there a reason why? I am assuming if the button works when you press "alt" in the editor it should work when a user presses the button. 

 

Thanks in advanced.

Categories:
  • v-monli-msft Profile Picture
    Microsoft Employee on at

    Hi @Shrptrts,

     

    What is the formula in your OnSelect property of the button control? According to your description, formulas in your app should be something like:

    Screen1.OnVisible=Set(V1,false)
    Button1.OnSelect=SubmitForm(Form1);Set(V1,true)
    Label1.Text="Thank you!"
    Label1.Visible=V1

    Regards,

    Mona

  • Shrptrts Profile Picture
    5 on at

    Hi @v-monli-msft ,

    Yes exactly like that but with different variable names. The button itself is in a datacard in the form with the same code. When I test it by pressing the play button in the editor, it works. However it does not when I publish it. 

    Capture.PNG

     

    But in the live app (regardless if it is accessed through the app or the URL) the submit button does not work. It doesn't even submit the form and the dependent button (that has the text) does not show up.

    afterclickingSubmit.PNG

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 283

#3
Mohsin Ali Profile Picture

Mohsin Ali 221

Last 30 days Overall leaderboard