Forms - Double Password Entry

So Client would like the user to enter the password twice into a Form and have them checked against each other to make sure they match much like any website when you sign-up
I have used forms before but not like this

Any ideas

So you will be taking two input dialog box to accept password twice?
If yes, then you can do a comparison of two password using IF condition before submitting the form.
If it matches, proceed with user registration else throw a business exception. You can use a retry scope activity when business exception thrown forcing the using to re-enter correct password.

Thats what I thought as I but the IF statement in the DO of the form, and set the submit button to not close the form but I can’t get the error message to pass back into the form saying the passwords do not match

@Jersey_Practical_Sho What are you trying to do to indicate the Passwords do not match ? Are you using a Label Component?

@Jersey_Practical_Sho - facing any issue ?
or looking for a solution?

More of an issue

Created a simple form with 2 text entry boxes for passwords

In the Do Loop I have an if statement that checks them against each other and saves the result to another variable.

What I need the resulting variable to show in the form. I have added a label and set its Field Key to that of the message variable output by the check, but it doesn’t ever appear within the form

@Jersey_Practical_Sho Make sure you have passed that variable as an argument and that the Direction is In/Out

Already set like that

@Jersey_Practical_Sho Can you send the Workflow so that we an check it ?

Ill have to recreate on my own pc as on clients atm so cannot upload from this machine

@Jersey_Practical_Sho You can Show a Screenshot of it as well, and we can try to replicate the same form our side.

@Jersey_Practical_Sho Most Probably the Password1 and Password2 arguments Should have the Direction In/Out. Can you change that and Check if it Works.

Hi @Jersey_Practical_Sho,
In the Content editor of the label field, add the expression “{{data.ErrMessage}}”.