-
Notifications
You must be signed in to change notification settings - Fork 71
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
Conditional fields in Drupal form #1728
Comments
In Islandora Tech call we discussed that this may be related to what is being discussed in this issue: #1659 |
It might be related. In a sense that universal solution for implementing conditional fields and conditional labels would be preferable. I just don't know if that is possible. |
@miha-pece also at today's Tech Call we decided to point out that there is a Drupal module (https://www.drupal.org/project/conditional_fields) that allows site builders to do the kind of things you are asking for without any coding/API. So while it is technically possible to configure conditional form fields similar to what you are describing, we came to the conclusion that providing a default Islandora configuration for conditional form fields is complicated because so many of the fields provided by default in Islandora are optional. Would you mind providing some additional specific examples of what you would be looking for? The more information you can provide, the better. |
A also found Drupal option, so yes, question is only if this could be useful if included as default Islandora. Maybe as example, how is possible to address some user interaction options. But I understand problems designing universal, general form, too many options could be confusing. Our use case (at the moment as idea) is mixed fields for agents as strings or as minted agents. We think that mixed approach in one collection could be the best approach, because we have two categories of persons: on one side very stable group of persons with repeatable appearances, and on the other, many random passers, usually without sufficient personal data. Because of that, we thought that a mix approach with minted persons and open text field would be the most appropriate. |
It would be nice if we would have option for conditional fields in form for adding repository items. For example, you have two radio button options, Add person as literal string and Link agent. Depending on selection, appropriate fields would pop-up on form.
I found one example on Drupal site: link
The text was updated successfully, but these errors were encountered: