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 / Cannot add navigation ...
Power Apps
Suggested Answer

Cannot add navigation functionality to a button using a formula

(1) ShareShare
ReportReport
Posted on by 4
I can’t add navigation functionality to a button using a formula. What could be causing this?
SubmitForm(Form3);
If(
    Form3.Valid,
    Navigate(Tela2, ScreenTransition.Fade)
)
It seems that the issue is with the semicolon.
My browser language is set to Portuguese.
 
 
 
 
Detalhe erro.png
erro .png
Categories:
I have the same question (0)
  • Suggested answer
    Vish WR Profile Picture
    232 on at
    Can you try this. Could be due to locale
     
    SubmitForm(Form3);
    If(
        Form3.Valid;
        Navigate(Tela2; ScreenTransition.Fade)
    )
     
    Or below approch 

    Button  -OnSelect
    SubmitForm(Form3)
    Form3  -  OnSuccess
    Navigate(Tela2; ScreenTransition.Fade)
  • Suggested answer
    Radovan Santa Profile Picture
    30 on at

    Hi,

    This behavior is caused by the fact that Power Apps uses your browser’s regional settings to determine the formula syntax.

    There are two main syntax formats:


    • US syntax → uses commas , as argument separator and after each command ;

    • European syntax → uses semicolons ; as argument separator and after each command ;;

    •  

    Since your browser is set to Portuguese, Power Apps is using the European syntax, which means your formula needs to be written like this:

    In the US syntax, your original formula would work as expected, but in EU regions the argument separator must be a semicolon and after each command there must be double semicolon.

    If you’d like to use US syntax instead, you can change your browser language/region settings, but generally it’s best to stay consistent with your environment.

    Hope this helps!

    If this answered your question, I’d really appreciate it if you could mark it as accepted 😊

  • Vish WR Profile Picture
    232 on at
    Thanks for providing details information .
     
    Will try to  give more details / reason why it failed in my future  response

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 528

#2
WarrenBelz Profile Picture

WarrenBelz 426 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 306

Last 30 days Overall leaderboard