PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Populate form input text with Dropdown selection

  1. ultramel123
    Member

    Hi there.

    Great plugin first of all :)

    I have a form with different "drop-down" fields where the user chooses a "menu" for their conference. These are my dropdown values:

    Menu 1 | 90
    Menu 2 |120
    Menu 3 |150

    I would like to have a text field on my form, which displays the actual menu text for the relevant selection made in the dropdown.

    ie if the user selects "Menu 1 |90" - then the text field should populate with the text:
    "Menu1: Rice, Chicken, Vegetables & 1 salad"... (or something like that)

    is this possible?

    Thank you so much for a great plugin

    Posted 11 years ago on Monday May 20, 2013 | Permalink
  2. I am looking for this functionality too. With me the person selects a location and the display only field shows the name of the location.

    Great plugin! Looking for more guidance on how to implement code snippets, what file they should go into and where to find field names to refer to.

    Posted 11 years ago on Wednesday May 22, 2013 | Permalink
  3. You should be able to show/hide fields and content with conditional logic based on selection. It sounds like you might be able to use an HTML field to display the menu information and show that when the option is chosen.

    Posted 11 years ago on Thursday May 23, 2013 | Permalink
  4. I think I know where you are going with this. Would you have an example on how to integrate fields in HTML though?

    Posted 11 years ago on Thursday May 23, 2013 | Permalink
  5. David Peralty

    Why would you need to integrate fields into the HTML field? You could add a HTML field that says "Home", and then using conditional logic show that HTML field when the user selects "Location 1" for example.

    Posted 11 years ago on Thursday May 23, 2013 | Permalink
  6. ultramel123
    Member

    Thank you for the replies.

    David / Rob:

    I have tried to use an HTML field to display certain menu text if the user selects "Menu 1". however the HTML field shows when the form is displayed, regardless which menu is selected?

    Also, there are 16 menu's which the user will choose from. Would I need to create an HTML field for each menu, and set the conditional logic for each menu choice?

    Posted 11 years ago on Monday May 27, 2013 | Permalink