You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After the form is submitted, the user will remain on the same page. Now I want to show a success message to them.
It's possible to check that change password got an error:
{% set arError = ChangePassword.getErrorMessage %}
{% if arError.message is not empty %}
<p>{{ arError.message }}</p>
{% endif %}
But how to check the operation was successful? I don't won't to put the success message in the else statement because the first time that page loads that message will be shown.
The text was updated successfully, but these errors were encountered:
I've got the following
ChangePassword
component onchange-password.htm
page:After the form is submitted, the user will remain on the same page. Now I want to show a success message to them.
It's possible to check that change password got an error:
But how to check the operation was successful? I don't won't to put the success message in the
else
statement because the first time that page loads that message will be shown.The text was updated successfully, but these errors were encountered: