Skip to content

Choose multiple picklist items in one field #1651

Closed

Description

@grantfitzsimmons

Picklists should have the ability to select multiple items if the user gives it the ability. Like you have 3 options: A, B, and C

You choose A, the field displays A
You choose B next, now the field displays A, B
Now you choose A again, the field displays B

This could work by creating new picklist items/using existing picklist items that are hidden from the user while allowing multiple values to be selected.

Example:
A herbarium wants to select multiple locations. Currently, there must be dozens of picklist items rather than allowing the user to select the subset of herbaria one by one.

Requested By: New Mexico and others

Activity

  1. mc0822 commented on Sep 8, 2022

    @mc0822
    Contributor

    Zsuzsanna Papp of NHMD (Danish Natural History Museums) also requested this feature, via 9/6/22 email.

  2. maxpatiiuk commented on Mar 14, 2023

    @maxpatiiuk
    Member

    I can't remember, did you say this was implemented in specify 6? How does it work (i.e, with querying, exports, search)

    Does it store the same vale in PickListItem.value as in PickListItem.title?

  3. maxpatiiuk commented on Mar 14, 2023

    @maxpatiiuk
    Member

    An ugly work around:

    1. Create an agent formatter that formats group member agents using ;
    2. Create a new agent and set agent type to Group
    3. Create agents A and B of type Other and add them to the group created in previous step
    4. Create a pick list out of Agent table and use the formatter created in step 1
    5. Use that pick list in the form for the desired field

    Now, value like A; B would be available in the pick list.

    Drawbacks:

    • No way to restrict pick list items to just some Agents at the moment - it will be showing all agents, which is slow
    • Misuses the Agent table - perhaps you can pick a different table for abuse (i.e, Preparation and PrepType)
  4. added
    2 - FormsIssues that are related to the form system
    and removed on Jul 2, 2023
  5. grantfitzsimmons commented on Dec 7, 2023

    @grantfitzsimmons
    MemberAuthor

    I hope you are doing well. I just have a quick question about the vitality field. Would it be possible to edit the vitality field to where we can select multiple options? Like one of those "select all that apply" drop downs. For some lots we would like to select both "alive" and "dead," or another combination of the five options.

    Requested By: Chris at the Bailey-Matthews National Shell Museum & Aquarium

  6. grantfitzsimmons commented on Dec 7, 2023

    @grantfitzsimmons
    MemberAuthor

    I can't remember, did you say this was implemented in specify 6? How does it work (i.e, with querying, exports, search)

    This is not implemented in Specify 6

  7. lexiclevenger commented on Jun 5, 2024

    @lexiclevenger

    This feature has also been requested by Corinna P at CSIRO via Asana.

  8. locked and limited conversation to collaborators on Dec 20, 2024
  9. converted this issue into a discussion #5589 on Dec 20, 2024
  10. moved this from 📋 Backlog to ✅ Done in Front-End Backlogon Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    1 - RequestA request made by a member of the community2 - FormsIssues that are related to the form system

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions