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

Compare Passwords

(0) ShareShare
ReportReport
Posted on by 21

Is ther a way to compare the text input to another text input to verify if they match and based on if they match or not excute a an action? 

For example I have a Form Card Value for a Password, and another Form Card Value to Re-Enter the Password.  If they don't match I want an error message to show.

 

 

 

 

Categories:
I have the same question (0)
  • Verified answer
    Jeff_Thorpe Profile Picture
    6,085 Super User 2024 Season 1 on at

    If you are using a Save button then you could add an if() to test the condition and if it fails throw an error message instead of submitting the form.

     

    Example:

    If(DataCardValue1.Text = DataCardValue2.Text, SubmitForm('FormName'), Notify( "Passwords don't match, please try again", NotificationType.Error )

  • Erikjn Profile Picture
    21 on at

    Thanks So much Jeff, been messing with this for hours!!

     

     

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 305 Most Valuable Professional

#2
11manish Profile Picture

11manish 212

#3
Valantis Profile Picture

Valantis 167

Last 30 days Overall leaderboard