• Hi,

    I have a country list and I need to assign a region code depending on the country that is selected. My form uses pipes like so:

    [select* Country include_blank “Afghanistan|AF” “Aland Islands|AX”…etc]

    I need to be able to return something that looks like this:

    Country: US
    Region Code: REGION4

    Is there any way short of creating a db table and doing a mysql lookup of the country to find the corresponding region?

    Would listo work for this purpose?

    And if doing a mysql lookup is the only way, any hints as to where would we insert this code?

    thanks!

    https://www.ads-software.com/plugins/contact-form-7/

  • The topic ‘data look up before submission’ is closed to new replies.