top of page

Advanced features

CMS

CMS: Adding and Setting Up an Address Input Element


Add an address input element to give visitors a way to submit addresses to your collection. The address input uses Google's search and auto-fill features to help visitors find what they need.


Screenshot of connecting the address input element to an address collection field.

Before you begin:




Step 1 | Add and set up the address input


After adding the address input to your page, customize the settings, layout and design of this element.


Wix Editor


  1. Go to your editor.

  2. Click Add Elements

    CMS: Adding and Setting Up an Address Input Element

    on the left.

  3. Click Input.

  4. Click Address Input.

  5. Click and drag the address input element of your choice onto the page.


Screenshot of adding an address input element.

  1. Click Settings on the address input element.

  2. Enter the Field title that will display at the top of the element.

  3. Enter the Placeholder text that appears in the field before visitors type in it.

    Tip: If you do not want placeholder text, click None under Initial text.

  4. (Optional) Click the Read only checkbox to restrict the address input from writing content to the collection. This is helpful if you're using the element to display content rather than submit it.

  5. Choose an option under Address autocomplete:

    • All countries: When visitors type, autocomplete uses addresses from every country to help finish the address input.

    • One country: When visitors type, autocomplete only uses addresses from one country to help finish the address input. Click the Choose a country drop-down and select the country to use.

  6. Click the Layout icon

    CMS: Adding and Setting Up an Address Input Element

    to set text alignment, placeholder padding, and the dropdown list display.

  7. Click the Design icon

    CMS: Adding and Setting Up an Address Input Element

    to choose a preset design. Then click Customize Design to adjust the design further.


Studio Editor


  1. Go to your editor.

  2. Click Add Elements

    CMS: Adding and Setting Up an Address Input Element

    on the left.

  3. Click Input.

  4. Click Address Inputs.

  5. Drag an address input element onto the page.

  6. Click Settings on the address input element.

  7. Enter the Field title that will display at the top of the slider.

  8. Enter the Placeholder text that appears in the field before visitors type in it.

    Tip: If you do not want placeholder text, click None under Initial text.

  9. (Optional) Click the Read only checkbox to restrict the address input from writing content to the collection. This is helpful if you're using the element to display content rather than submit it.

  10. Choose an option under Address autocomplete:

    • All countries: When visitors type, autocomplete uses addresses from every country to help finish the address input.

    • One country: When visitors type, autocomplete only uses addresses from one country to help finish the address input. Click the Choose a country drop-down and select the country to use.

  11. Click the address input element and select the Layout icon

    CMS: Adding and Setting Up an Address Input Element

    to edit additional settings. Set the spacing, handle appearance, steps layout, value label, prefixes and suffixes.

  12. Click the slider element and select the Design icon

    CMS: Adding and Setting Up an Address Input Element

    in the Inspector panel to customize the design.



Step 2 | Connect the address input to the CMS


Connect the address input to a dataset that connects to the collection where the submissions will be stored. You can connect to an existing address field type or create a new one in your collection.


Wix Editor


  1. In your editor, click the address input element.

  2. Click the Connect to CMS icon

    CMS: Adding and Setting Up an Address Input Element

    .

  3. Click the Choose a dataset drop-down and select an existing dataset that connects to your collection. Alternatively, select Add a Dataset, then choose the collection you want to connect, give the dataset a name and click Create.

  4. Click the Value connects to drop-down and choose the address field that the input submits to.

    Tip: Select + Add to add a new collection field for storing the submissions.

  5. Set the dataset mode and collection permissions:

    1. Click Dataset Settings in the panel on the right.

    2. (Optional) Click the permission type next to Permissions to determine who can view, add, update, or delete collection content.

    3. Click the Dataset mode drop-down and select the relevant option:

      • Write: Connected input elements can add new items to the collection, but cannot edit existing items.

      • Read & Write: Connected elements can update existing items in the collection. If you connect a 'New' button, visitors can use it to update existing items and add new items to your collection.

  6. Create a 'Submit' button that visitors click to submit their responses.


Studio Editor


  1. In your editor, click the address input element.

  2. Click the Connect to CMS icon

    CMS: Adding and Setting Up an Address Input Element

    .

  3. Click the Choose a dataset drop-down and select an existing dataset that connects to your collection. Alternatively, select Add a Dataset, then choose the collection you want to connect, give the dataset a name and click Create.

  4. Click the Value connects to drop-down and choose the address field that the input submits to.

    Tip: Select + Add to add a new collection field for storing the submissions.

  5. Set the dataset mode and collection permissions:

    1. Click Dataset Settings in the panel on the right.

    2. (Optional) Click the permission type next to Permissions to determine who can view, add, update, or delete collection content.

    3. Click the Dataset mode drop-down and select the relevant option:

      • Write: Connected input elements can add new items to the collection, but cannot edit existing items.

      • Read & Write: Connected elements can update existing items in the collection. If you connect a 'New' button, visitors can use it to update existing items and add new items to your collection.

  6. Create a 'Submit' button that visitors click to submit their responses.


Need A Professional Website?
Contact Us 
Today!

I'm a paragraph. I'm connected 

I'm a paragraph. I'm connected 

I'm a paragraph. I'm connected 

I'm a paragraph. I'm connected 

I'm a paragraph. I'm connected 

I'm a paragraph. I'm connected 

wix experts
Graphic2Traffic web design
©
bottom of page