Check whether a string is a valid password on the current application

Is there a way to check whether a string will be allowed to be set as a password on the current application? If I change the password on an account entity into an invalid password the user automatically receives a pop-up message with the validation message. I would like to receive this feedback as a string so I can display it a different way. Otherwise I could do without the feedback and just receive a boolean whether the password is valid or not. Thanks in advance!
1 answers

Hi Sjoerd,

If you add custom error handling to the commit that saves the password you can show a custom message instead of the default. 

Here is an example that I just tested. I’m showing a custom message instead of the default. If you want the feedback, the latest error message token will have the feedback text as a string.


Hope this helps!