Hi,
I’m implementing custom registration flow and i looking for a way to display custom error message in case user input are not validated ?
errors.add(new FormMessage(RegistrationPage.FIELD_EMAIL, Messages.INVALID_EMAIL));
context.error(Errors.INVALID_REGISTRATION);
context.validationError(formData, errors);
I tried this but error is only shown in console log and not in UI.
Thanks,
Dan