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.

Combobox entry labels based on other input fields

  1. dogonleash
    Member

    I'd like to display the text from another input in a combobox.

    Imagine a form with the following inputs:
    - Person #1's Name (Name input)
    - Person #2's Name (Name input)
    - Who should we call first? (Combobox)

    For the combobox, I'd like to use Person1 and Person2 as the values but display the actual name's as the value displayed to the user in the combobox.

    Is this possible? I can display Person #1 and Person #2, but I don't want to. Also, the name inputs are on one page and the combobox is on a following page.

    Posted 14 years ago on Sunday April 24, 2011 | Permalink
  2. This isn't a built in feature. It may be possible using jQuery, but you would have to write custom jQuery to dynamically change the values of the 2 combo box text. I don't have any example code for this as it's not something that we have seen implemented before. A lot is possible with jQuery if you know it, that would probably be the only way to implement this as it would have to be done dynamically and as they type in the 2 input fields.

    Posted 14 years ago on Monday April 25, 2011 | Permalink