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.

Load states of particular country (Casecase combobox)

  1. poovabhi
    Member

    Hi,
    How can I load the states of a country and cities of a chosen country. Is there anyway to do so. Also If I chosen customer name from select box I want to display his details in textboxes or relevant controls. Is it possible in gravity form?
    Thanks,
    Poov.

    Posted 13 years ago on Friday June 17, 2011 | Permalink
  2. To display the states of a country or the cities of a country you'd have to add a drop down for each country containing the states or cities and then use conditional logic to show or hide the field based on which country is selected.

    If you wanted to do something more complex you'd have to add your own custom field type to Gravity Forms to handle this. You'd use the gform_add_field_buttons hook to do this which can be found here:

    http://www.gravityhelp.com/documentation/page/Gform_add_field_buttons

    We don't currently have a tutorial for adding custom fields, it's a more advanced customization. But we plan on creating one.

    You can't automatically populate information in a form based on a customer name. You'd have to write custom code to do this. Gravity Forms wouldn't know where the data is supposed to come from, entry data? WordPress user data? So you'd have to write your own customization to do this.

    Posted 13 years ago on Friday June 17, 2011 | Permalink
  3. poovabhi
    Member

    Thank you so much.

    Posted 13 years ago on Monday June 20, 2011 | Permalink