I have an issue of solving the validation error, if anybody can help me with that.

I created local variable for a password and confirm password. those two local variables has been used in input. 

And I changed the direction of the confirm password input to screen action called OnChange-Password



 


Inside the OnChange_password screen action i added this validation and it working fine.

But in the Ok (Submit) screen action i added this validation.

The issue is that the validation reads the failure server action but its not stopping it this point its continuing to next page, so how can i fix this issue to stop the validation to this (point action) if the password or confirm password is wrong. 

and if its right it should continue to create and goes to next page.   


Best Regard

Solution

Hi Hind,

Did you try to set the "Destination" property of the button to the "Ok" action (instead of the destination page) where you perform the validation and then if both passwords are correct, add a destination node to the other page?

Regards,

António Pereira

Solution

Thanks António Pereira Its working fine  


Best Regard

Hind Ahmed 

António Pereira wrote:

Hi Hind,

Did you try to set the "Destination" property of the button to the "Ok" action (instead of the destination page) where you perform the validation and then if both passwords are correct, add a destination node to the other page?

Regards,

António Pereira

plz sir if you can give olm of this application bcz m biggners level



Hafiz Shaheed wrote:

António Pereira wrote:

Hi Hind,

Did you try to set the "Destination" property of the button to the "Ok" action (instead of the destination page) where you perform the validation and then if both passwords are correct, add a destination node to the other page?

Regards,

António Pereira

plz sir if you can give olm of this application bcz m biggners level




Hi Hafiz,

I don't have this specific oml. What is your challenge?


Regards,

António Pereira

password matching


Hafiz Shaheed wrote:

password matching


hi,

please send me your oml or photos so I can help you. 

Also, you should create a new thread since this one is already solved.


Cheers