UiPath Form Designer - Validate 2 passwords

Hi All,

I want to verify my password with UiPath.Form.Activities. Specifically, if the two password inputs do not match, display a message indicating that it is NG. As far as I can tell, the password component doesn’t have the ability to verify the mismatch between two passwords in the Validation feature. Do you have any good ideas?

image

1 Like

You can do it by adding a text field which has the error message, mark it as hidden by default
and showcase that error message whenever the text of these two components are not matched.

you can do this comparison with the help of Advanced condition option using JavaScript.

You can put the condition on the submit button to be disabled, if that text box component is visible

I posted a tutorial on how to use condition. I am sure this will help, do try it out.

2 Likes

Thank you for advice!
I solved it by adding the following components and Advanced logic.

[Component]

[Advanced Logic]

2 Likes

That’s amazing! Glad the tutorial could be of some help to you.

Happy Automating!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.