KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Establishing a default country
PRODUCT: 4D Business Kit | VERSION: 1.0 | PLATFORM: Mac & Win
Published On: January 17, 2003
Your current browser may not allow you to download the asset. We recommend Mozilla Firefox or Google Chrome.
Log In

When shoppers create accounts for your online store, there is a good chance they will become customers. To expedite customer data entry, the following code will make the process of selecting a country a simple process.

The following example generates a pop-up menu of the list of all the countries in the world with the United States of America as the initial option.

<select name="Country">

<!--#4DBKMenuCountriesAll/United States of America-->

</select>

This example generates a pop-up menu of the countries stored in 4D Business Kit with the identified customer's country as the initial value. This option will work only if the customer has initially been identified.

<select name="Country">

<!--#4DBKMenuCountriesAll/4DBKField/CusCountryMain-->

</select>