If you want to create a form with field offering your user many possibilities to choose from, follow the steps below – we will show you how to make a select field with a base of countries.
How to prepare ‘choose your country’ field in the form based on the select field?
- Go to the settings of your form widget either from the context menu (1) or toolbar (2).
- Add a new Select field to your form.
- Enter Label name (1), click Additional options (2), and type “country” in name attribute. Click Save and close.
- Save changes.
- Copy the following code.
- Go to Dashboard -> Javascript codes, add a new script.
- Type in a name (1), paste your code (2), select Body bottom (3), and Main page (4). Click Add.
- Publish your landing page. Check whether the form displays correctly.