amy
amy copied to clipboard
Require single select for Event Curriculum Taught
Currently this allows for multiple selection:
This should be modified to allow only one item to be selected. Correspondingly, the field should be renamed from "Curricula taught at the workshop" (plural) to "Curriculum taught at the workshop" (singular).
What if we have some data already that was entered with multiple curricula? Maybe I can keep the underlying data structure as M2M, but allow the form to take just 1 entry?
Additionally there's a small issue with WRF. We basically copy "workshop types" or "requested workshop types" from WRF into a new Event. This means that we'd have to limit the WRF "workshop types"/"requested workshop types" to single selection, too.
I'm checking with our team on this.
Is it possible to have the event form take just one entry but still have the request form allow multiple?
Is it possible to have the event form take just one entry but still have the request form allow multiple?
It's possible. The issue is when we're creating events from the requests. Some fields used to be rewritten 1-to-1, like curricula. Now if we enforce limit in Event Form, then how do we treat multiple entries from the request form? Do we allow to enter multiple nonetheless? Or do we display selections but fail the form, so the user has to deal with it themselves?
I will be discussing this with the workshop admin team.
I talked with the WAT and they are fine with select one on both the form and the event listing.