-
Notifications
You must be signed in to change notification settings - Fork 430
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve Age Validation in User Creation Form #9001
Comments
@rithviknishad I would like to work on this can you assign it to me. |
@Jacobjeevan Could you confirm and assign accordingly if it's being done along with #8878 |
@rithviknishad I wasn't planning on editing this page, but since we are using most of the same fields in single user detail/management page, it just makes sense to reuse those components here 🤔 |
@rithviknishad should I proceed with this issue? |
@Jacobjeevan's PR would be addressing this too @Rishith25 |
Is this done else I can do it |
@abhishekreddy8604 The issue is already assigned and it's taken care of 👍 |
Description:Currently, when creating a user, if the Date of Birth (DOB) entered corresponds to an age less than 15 years, the system makes an API call and returns an error with the message: "Age must be greater than 15 years."
Proposed Improvement: To enhance the user experience and reduce unnecessary API calls, dynamic client-side validation should be added to the form. This validation would check if the age is at least 15 years before submitting the form, thereby providing immediate feedback to the user.
Expected Behavior:
The form should display an error message dynamically if the user enters a DOB indicating an age less than 15 years.
The form should prevent the API call from being made if the age criteria are not met.
Benefits:
Reduces API traffic.
Improves user experience with real-time feedback.
The text was updated successfully, but these errors were encountered: