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
Current broken feature: A submission form field that uses "input-type" qualdrop_value and "regex" for validation should allow to select an item from the provided dropdown list and validate the second free text field against the regular expression.
New Feature: Additionally, the "regex" used for validation of the free-text field should be able to change according to which dropdown item is selected.
Use case: dc.identifier fields. If the user selects an identifier_type==DOI, the regex should validate for "https://doi.org/...", whereas if the user selects identifier_type==ISBN, the regex should validate for that format instead.
It would be convenient to make these validations on the front end. An alternative we are considering is to run scripts periodically that attempt to correct mal-formatted metadata.
The text was updated successfully, but these errors were encountered:
Related to #8967
Current broken feature: A submission form field that uses "input-type" qualdrop_value and "regex" for validation should allow to select an item from the provided dropdown list and validate the second free text field against the regular expression.
New Feature: Additionally, the "regex" used for validation of the free-text field should be able to change according to which dropdown item is selected.
Use case: dc.identifier fields. If the user selects an identifier_type==DOI, the regex should validate for "https://doi.org/...", whereas if the user selects identifier_type==ISBN, the regex should validate for that format instead.
It would be convenient to make these validations on the front end. An alternative we are considering is to run scripts periodically that attempt to correct mal-formatted metadata.
The text was updated successfully, but these errors were encountered: