Hello,
I’m currently working on implementing a pre-registration hook in Auth0 to validate user input before signup. I’ve successfully implemented the hook to validate the email field, but I’m encountering an issue with error display placement.
Currently, when the pre-registration hook detects an error related to the email field, it correctly prevents the user from signing up. However, the error message is displayed underneath the password field instead of underneath the email field where the input error occurred.
I want the error message to be displayed directly underneath the email field to provide a more intuitive user experience.
Could you please guide me on how to ensure that error messages from the pre-registration hook are displayed in the correct location, specifically underneath the email field?
Thank you!