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.

Before buying Questions :)

  1. ludo2604
    Member

    Hello,
    This plugin looks great and it might be the solution for what i want but before, want to be sure.

    I have a Hospitals website with Wordpress.
    And i would like a pre-ad form for people who are planning to come in one of the 6 hospitals.

    1) is it possible to have dynamical drop down select menu with a PHP Get-Viarable from the URL ?
    for exemple the URL will be company.com/adform?hospital=1
    and the id 1 = hospital name1 in the drop down menu.

    2) From this first select drop down menu, display another drop down menu with the name of all the doctors.
    if the hospital id is 1 > display all doctors from this hospital only.

    So is it possible to create a dynamical drop down menu who display results from a wordpress mysql database table ?

    Thanks in advance for that

    Posted 13 years ago on Thursday December 16, 2010 | Permalink
  2. 1) Yes, you can pre-populate a field by passing data to it in the query string. This is done by editing the field in the form builder, going to the advanced tab, checking the "Allow field to be populated dynamically" checkbox and giving the field a parameter name. The parameter name is then what is used in the query string (ex. hospital would be the parameter name and you'd pass data to it via the query string as hospital=1).

    2) Yes, you can do this via conditional logic. You would have to create a drop down field for each list of doctors, and then use conditional logic to show or hide this drop down based on the hospital selected.

    It is possible to create a dynamic drop down from WordPress data, however you would have to write custom code using PHP and Gravity Forms API hooks to do so.

    Posted 13 years ago on Thursday December 16, 2010 | Permalink
  3. ludo2604
    Member

    This is great thanks for your answer :))

    Is there a french translation ?

    Posted 13 years ago on Saturday December 18, 2010 | Permalink