Updating Form Inputs Live

Updating Form Inputs Live

Comments

  • Hi all,

    Currently I have a flow that populates a form, but this data would need to be updated within the form. How can I go about updating a forms values if theyre being fed information before it reaches the form step?

  • Hi JMcmann49,

    Regarding having a form update values live, youll need to update them on the form level using a data flow vs feeding them in from the flow level.

    Take a look at my example here:
    [img]att5[/img]

    I have a radio button list on the left and a list box on the right. I want this radio button selection to update the list box live, this is why well need to leverage [b]data flows. [/b]
    [b]
    [/b]
    In my example, my radio button is a static list of 1, 2, and 3. Im going to create a data flow that takes in a single string and creates different string lists depending on the selection.

    [img]att4[/img]

    The data flow Ive setup is just a basic example, you can use Create Data steps as Ive done to create lists, or fetch them from a data source, or even get them from a SQL query, really this data flows purpose is just to show you that you can fetch the desired list of any data type.

    [img]att3[/img]

    Last part; we have the data flow configured, so all we need to do is [b]make sure our List Box component is accepting that input data. [/b]This is done by going to the list box input data and making sure it grabs whatever the name of the data flows output is.

    Voila! See the two pictures below and youll see that depending on my selection on the left, it will generate a new list on the right.

    [img]att2[/img]

    [img]att1[/img]

Sign In or Register to comment.