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.

Dropdown Field Population

  1. I have a form ( http://goldenlifestyle.co.za/inves-internet-real-estate ) and in this form I have 2 fields relating to each other

    Property Value
    Referred By (Dropdown)

    What I want to do is populate the "Referred By" field based on what the user has selected in the "Value Field"

    I store a "Value" field in the wp_usermeta table.

    Basically GF must go and see what value the user has selected and then only populate the "Referred By" field with Usernames that have the same Value or Lower.

    Eg. I select R100 option. Now the Referred By field will only show Usernames that have a Value of R100 and R50

    Posted 9 years ago on Monday July 18, 2011 | Permalink
  2. This isn't a built in feature and not something Gravity Forms does by default. You would have to do this as a customization with custom code, and it's going to be a bit complex because you want to do conditional logic also. I don't have any code snippet examples of how to do this. You will have to read up on how to Dynamically Populate fields in the How To section of the Documentation.

    Posted 9 years ago on Monday July 18, 2011 | Permalink