Set dynamic value for Multi-Select widget (COMPLETE)

Answered

Comments

7 comments

  • Official comment
    Avatar
    Tony Ruth

    Hi everyone. In iForm 7.5 you can now set the dynamic value of a multi-select using an array of options like the example below. The options in quotes are the key values of the options desired to be selected.

    ["red", "green", "blue"]

    Comment actions Permalink
  • Avatar
    Tony Ruth

    Hi Phil, can you let me know what you are trying on your form in the dynamic value, and how many options you have in the list?

    0
    Comment actions Permalink
  • Avatar
    Phil Ryder

    Hi Tony,
    My form has a select with an associated multi-select,
    i.e. Does the tree have a planting defect Y/N ? then a multi-select to allow setting the defect type(s), the multi-select is hidden if the user selects No. What I was trying to do was clear any previous multi-select entries if the user goes back and changes Y to N.
    My multi-select has 13 options, if I put
    if( test_field > 0 ) {0}
    in the dynamic value the form crashes.
    I raised a zendesk but Joe wasn't sure of a way to do it.
    Thanks,
    Phil

    0
    Comment actions Permalink
  • Avatar
    Kam Muri

    Anyone figure this out? How to set a DV for a multi-select, or how to clear selected items?

    0
    Comment actions Permalink
  • Avatar
    Will Anderson

    I'm having the same issue/need to be able to clear multi-select based on previous select element. Needs to clear if user changes their answer on the select element.

    0
    Comment actions Permalink
  • Avatar
    Scott

    I am having the same issue but only on iOS devices. Works fine on Android. Has there been an update?

    0
    Comment actions Permalink
  • Avatar
    Henderson Longwe

    Is it possible to filter a picklist based on the previous values of a multiselect?

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk