Show IEF only if reference does not exist

Created on 5 December 2021, almost 3 years ago
Updated 17 February 2024, 10 months ago

I've scoured the issue queue and Google, and can't find a good explanation of what I think would be a relatively common use case.

I need teachers to be able to select their school upon registration.

I have a reference field to the node type "school" that previously allowed teachers to find and select their school from the list.

But sometimes a school is not yet added and available, so for those registering teachers I'd like to provide an "Other" or "Add" option that would allow them to submit (and select) their unlisted school.

I can't quite put the pieces together. I created a new form display "basic" to show only the few required fields for registering teachers to add a new school via IEF. But I can't figure out how to have the default be the simple select list of already listed schools, that then opens up the IEF if theirs doesn't exist yet.

Even trying something like two school fields would result in the new IEF school selection being set and saved on a different field.

πŸ’¬ Support request
Status

Needs work

Version

1.0

Component

Documentation

Created by

πŸ‡ΊπŸ‡ΈUnited States w01f

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States dcam

    I'm closing old IEF support issues. Please feel free to re-open the issue if you still require assistance.

  • Status changed to Needs work 10 months ago
  • πŸ‡ΊπŸ‡ΈUnited States w01f

    Well, I don't think a note simply stating you're closing it because it's "old" is a proper method to close tickets.

    Might I recommend something a bit more helpful, such as "We do not currently intend to support this feature." or "We do not currently have time to develop this additional feature, but are open to contributions if someone would like to take this up. Closing for now." Or... possibly even a "After reviewing the request, I realize this is already possible, and am including instructions for how to implement below, with a reference in the readme."

    But generally the maintainer of module leaving a note that doesn't even convey they took the time to read a submitted ticket is rather discouraging. If you find yourself strapped for time or lacking technical expertise to respond properly, I would suggest opening the module up and advertising for a co-maintainer.

Production build 0.71.5 2024