Copy data from add options widget to Configurable List Widget

  • jeremymherbert
    Asked on December 3, 2020 at 5:14 PM

    Hi there,

    I want a user of my form to be able to enter Text in the add options Widget. I want the values entered from the add options widget to be available as values in a dropdown in the Configurable list widget.

    Example:

    Add options Widget Values:

    red, blue, green


    Configurable List widget (contains a dropdown and user fillable text field)

    Color | Shade

    *red* light

    *green* dark

    How can I send the data from the one widget to the other in my form? Thank you.

  • Welvin Support Team Lead
    Replied on December 3, 2020 at 8:52 PM

    Unfortunately, it's not possible. You can pass data from one widget to another. You cannot do it either with our basic dropdown fields.

    What is your goal here, if you don't mind us asking? Are you trying to display different options based on the first input?

    Thanks

  • jeremymherbert
    Replied on December 3, 2020 at 9:28 PM

    I'm trying to repeatedly collect three fields of data from a user. The user specifies the data to go in all three columns. The user is able to choose how many rows of data they want to enter. The first column also contains repeat values, so I don't want the user to have to type in values or have to copy/paste every time. Here's an example:


    Category Item Value

    Animal Dog 5

    Animal Cat 4

    Animal Goat 6

    Fruit Apple 2

    Fruit Pear 1


    Some of the things I've tried (but don't fully meet what I'm trying to do):

    1. Matrix Dynamique Widget
      (This widget allows 3 columns that the user can enter, the user can add additional rows as needed, but since all of the fields must be text fields, the user would need to keep copy/pasting to fill column 1.
    2. Configurable List Widget
      (This widget allows for 3 columns, the user can add rows as needed, and one of the columns can be a dropdown so the user doesn't need to keep copy/pasting values for column 1. However, The dropdown field in the configurable list doesn't seem to support collecting values from a user)
    3. Dynamic Dropdown Widget side-by-side with infinite list widget
      (Using these widgets in tandem allows the user to enter custom values into the dropdown, rows can be added as needed for the infinite list, but only one dropdown can be created using this widget, so this wouldn't work.


    If there is another way I can:

    1. collect 3 columns of data from a user
    2. the first column's data can be saved so it doesn't require repeated copy/pasting
    3. the user can add additional rows as needed


    Please let me know. Thank you!

  • Jed_C
    Replied on December 3, 2020 at 10:12 PM

    The user is able to choose how many rows of data they want to enter. The first column also contains repeat values, so I don't want the user to have to type in values or have to copy/paste every time. — It seems that your requirement needs a composite field like configurable list which is not possible to receive a data from another field.

    You can pass data from one field to another, but it won't allow your users to add as many entries as they like similar with how configurable list widget work.

    Sorry, but we don't have a way to copy the values especially from widgets to another widgets.