• Resolved aralmac123

    (@aralmac123)


    Hi,
    I am having trouble with the multi-select field.

    What i am trying to achieve is that based upon which sites the user selects from the multi-select options then this will populate the dropdown list below with what has been selected.

    For example, if the user selects London, Manchester, Belfast from the multi-select form then the dropdown list below will populate with only these fields.

    I tried following the instructions in this post:
    https://docs.ultimatemember.com/article/1486-how-to-use-choices-callback

    However, I think that only works for one option selected.

    Could anyone guide me on how this can be achieved using multi-select options?

    Would greatly appreciate it!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @aralmac123

    Please check the latest documentation for choices callback: https://docs.ultimatemember.com/article/1539-choices-callback-feature-in-um-2-1

    You can set the dropdown each dropdown as a child.

    e.g.

    Dropdown # 1 is a parent of Dropdown #2
    Dropdown # 2 is a parent of Dropdown #3
    Dropdown # 3 is a parent of Dropdown #4.

    So 2,3 and 4 are Children dropdowns of Parent Dropdown #1

    Regards,

    Thread Starter aralmac123

    (@aralmac123)

    I’m not too sure what is meant by that?
    I am relatively new to php so that code is hard to follow.

    Would you be able to provide example for me based on my scenario above?
    I have a premium licence so could raise a ticket too.

    Thanks

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @aralmac123

    Unfortunately, you will need to hire a developer as we cannot provide support for customization that goes beyond our support scope.

    Regards,

    Thread Starter aralmac123

    (@aralmac123)

    Okay @champsupertramp,

    I do not want multiple dropdowns only one?

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @aralmac123

    Yes, you can add multiple dropdown fields but you will need to customize the callback functions to populate the child dropdowns with your custom options.

    Regards,

    Thread Starter aralmac123

    (@aralmac123)

    @champsupertramp okay but can you select multiple options for the parent drop down?

    for example, say it was checkboxes, i would like to check a few destinations and then in the 2nd drop down list it is populated with the checkboxes that are selected.

    I dont think checkboxes can use callback so i thought it may be possible with multi-select?

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @aralmac123

    Unfortunately, there are no settings to have the populated checkboxes with values from a dropdown. This will require customization to extend the functionality of those fields.

    Regards,

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘MultiSelect field options’ is closed to new replies.