Is there a way to pre-populate a text field based on a dropdown selection field?

  • Profile Image
    Asked on August 30, 2019 at 07:58 AM


    I've been stuck for a while and searching through different options on how I can pr- populate a dropdown based on my selection.

    My form:

    Please follow > In Store Support > 12. 1 Wk Not picked up > 'Select' Store > (Form to pre-populate trading hours as a list.

    I've found a thread below which similar to what I'm looking for except my pre-populated dropdown is a list.

    Example from the link above:

    Is there a way this can be done. Thank you

  • Profile Image
    Answered on August 30, 2019 at 09:54 AM

    To clarify, do you want to prepopulate your dropdown options based on conditions?

    Unfortunately, there is no option for the dropdown field to be populated dynamically or through conditions.

    You may try to add different dropdown fields with different options and show the field based on conditions.

    For example, if you choose Sydney in your Store you will show a dropdown field with its trading hours.

    Another way would be using the Form's full source code. You would have to download the Form's source code and edit your dropdown field with scripts and upload it to your server.

  • Profile Image
    Answered on August 30, 2019 at 10:55 AM

    My idea was to create multiple dropdown fields with each dropdown field  having different options.

    Then depending on the Store we will show that specific dropdown field.

    As we cannot populate the dropdown field using conditions, we can only add static options.

    Example screen cast:

    Sample Condition:

    Please give it a try and let us know if this fits your requirements.