-
Notifications
You must be signed in to change notification settings - Fork 189
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
[Account] Required fields do not take into account conditions #1963
Comments
This is the error we get in CEP-DEV So we try to reproduce it locally in Claroline. This is our configuration in Administration This is the result from our configuration right before clicking on "Create an account" button These are the errors that we get on account creation when a conditional field is mandatory, but not visible because of its parent, this seems to be related to the following issue : #1964 Similar errors appear when we try to close the confirmation modal, even before clicking on "Validate my registration" Because of #1964 we seem to be unable to reproduce the required conditional fields bug locally |
We managed to find the source of the issue, it seems to be caused by the way validations are done, it starts working if we disable validations here:
We believe |
When a required field depends on another field's value, if the required field is not visible (because its condition is not met), then it's still required and the user cannot proceed
Currently, the administrator is forced to make all fields optional, which is blocking the testing of account creation and conditional fields, and is critical for us
The text was updated successfully, but these errors were encountered: