• Resolved ratamatcat

    (@ratamatcat)


    Hello,

    How can I populate two separate select fields with the same options.

    One is a single select field, the other is a multiple select field. They both need identical options and there are many of them.

    thanks,

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Adam – WPMU DEV Support

    (@wpmudev-support8)

    Hi @ratamatcat

    I hope you’re well today!

    By “populate” do you mean creation of fields that would have same options configured or do you mean some sort of “bulk fill-in” during form submission?

    If it’s the former, then the way would be to “duplicate” fields: create one fields as you want it and then click on a little “gear” icon (where you would normally go to edit the field) and select “duplicate” instead of “edit”.

    This will create an exact “clone” of the field and you can do it multiple times. If there should be any differences between original and cloned fields (e.g. “single choice” vs “multiple choice”) then you’d need to edit the clone field.

    But you can also duplicate already cloned and edited filed too. For example, if you need 10 fields of “single select” and ten of “multiple select”, all with the same set of options to choose from, then:

    – create one field, add all the options to it, set it as “single select” field
    – duplicate it 9 times (at this point you got 10 “single select” identical fields)
    – duplicate it one more time and edit this last duplicate, changing “single” to “multiple”
    – duplicate that last copy (just edited) another 9 times.

    Best regards,
    Adam

    Plugin Support Pawel – WPMU DEV Support

    (@wpmudev-support9)

    Hello @ratamatcat

    I hope you are doing well!

    We haven’t heard back from you for a while now so we’ve marked this ticket as resolved. If you do have any followup questions or require further assistance feel free to reopen it and let us know here.

    Kind regards,
    Nastia

    Thread Starter ratamatcat

    (@ratamatcat)

    Thanks Adam I didn’t think to do this in a simple way as you describe.

    I was thinking along the lines of maintaining the list of options somewhere else as a single source list, then feeding it into each separate select list.

    But using and updating the separate select fields is certainly manageable. I can get most of the data in initially, then duplicate it, and manage both from there.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Two select fields, same options’ is closed to new replies.