keyboard_arrow_left Back to Knowledge Base

Customizing a Distance element

The Distance element lets you enter two addresses and calculate the distance between them. It is especially useful for calculating shipping or travel costs.

Customizing Distance element settings

  1. The Element Label input field lets you name your element. The toggle controls whether the label is visible or hidden.
  2. The Element Tooltip is a text field that lets you give more context to each element or explain what information you require to input. Once enabled, it will appear as a small info icon next to the element title.
  3. The Location inputs option lets you choose between two ways for users to provide information: two locations (from and to) or just one location.
  4. The Value metric lets you select the unit of measurement for calculations, such as kilometers or miles, to use in formulas.
  5. The Country restrictions option allows you to specify which countries the addresses should be searched from.
  6. The Show inputs horizontally option lets you choose how to display the input fields when there are two location inputs.
  7. The first and second location inputs let you customize the input details, hide or disable the input, or specify allowed addresses in a dropdown list.

Understanding Input Display Options

Input Display Option Dropdown

Notes

Build calculator for free!