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.

Javascript to change selected value?

  1. netsolution
    Member

    How can i use Javascript to change initially selected value?

    Eg. I have several countries in a select field, and I want to use a java script to set the initially selected field to "Germany" - how can I do that?

    I want the events of the select to be fired as if the entry would have been chosen manually (because another form field is dependent on the selection).

    (The country depends on an url get parameter, that's why i need java script to read the parameter - I've got that covered - and then make the corresponding selection in the select field)

    Thanks!

    Posted 13 years ago on Monday April 30, 2012 | Permalink
  2. Can you not use the formbuilder's radio button next to Germany to pre-select it? I'm guessing you might have tried this already?

    Screenshot

    Posted 13 years ago on Monday April 30, 2012 | Permalink
  3. netsolution
    Member

    no this does not work, i need a dynamic selection based on some js values....

    Posted 13 years ago on Monday April 30, 2012 | Permalink
  4. Can you post a link to your form?

    Posted 13 years ago on Monday April 30, 2012 | Permalink