Populate a list or drop-down based on entries within a form instance

Home Forum General Populate a list or drop-down based on entries within a form instance

This topic contains 1 reply, has 0 voices, and was last updated by  MABrown 9 years, 8 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #217

    MABrown
    Participant

    I have a form that populates a table based on a connection to another form. I want to populate a drop-down menu with entries based on that table, but I don’t want entries to be repeated.

    For example, if a column holds the names of colors, with five rows that say “Red,” two that say “Blue,” and three that say “Orange,” but no rows that say “Green,” the drop-down options would be “Red,” “Blue,” and “Orange”. If the table is re-loaded and now shows rows that contain “Green,” then “Green” would be added as an option in the drop-down.

    Is this possible? The “Set Selection Items” behavior does not seem to have any options for dynamically choosing the entries.

    #4599

    ijobling
    Participant

    Set Selection Items is not what you need here. To read from another form you need to set up a connection (as you indicated) although it would be expected to then show five Red, two blue as this is what is stored in the field.

    If you do not want to show these repeating fields, then either on your source form or this form here, you would need to run scripts to identify and delete such duplicate information where using the Set Table Row script action will be of use where you can ‘scroll’ through your table rows to then write out what you need to then show to the other form.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.