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.

Dynamically Selecting a Choice from Dropdown

  1. I have a field on my user registration that allows people to choose what state they're in. Then the site shows where they set their location to in the top. They can then go to a page I've set up to edit their profile and choose a different location if they wish. Once they do this it updates in the header that their location is set to "__________".

    All of that works great...

    What's NOT working is that when they go to the page to edit their profile the drop down is always set to what they originally chose at sign up. They are able to chose something else and it updates correctly in the header, but it doesn't change the drop down next time they visit their page.

    The drop down field has "Allow field to be populated dynamically" selected and has the same parameter that I'm using to call the data that's displaying it in the header. So I'm not sure why it's not auto-selecting that in the drop down.

    Any ideas?

    Posted 9 years ago on Wednesday April 11, 2012 | Permalink
  2. kyle

    What parameter are you using to dynamically popultae? Something in your query string?

    Is the header updated dynamically? A link would probably help.

    Posted 9 years ago on Thursday April 12, 2012 | Permalink
  3. user_state is the parameter.

    Yes, the header is dynamically updated.

    The site isn't available to the public yet, so I can't post the link here as you wouldn't be able to get in. If an admin wants to see it I can give access.

    Posted 9 years ago on Thursday April 12, 2012 | Permalink
  4. kyle

    So, they select the new location and hit submit, but it doesn't save the value? Is the new entry showing up in the admin section? Is the confirmation message showing up?

    Posted 9 years ago on Thursday April 12, 2012 | Permalink