# Places Question

Calculate the distance between two set locations.

## Options

• Title: Sets a title to the places question. You can further set the title type and toggle “Title is visible?” to change the visibility (show/hide) on your calculator.
• Add tooltip: Toggle this option if you want to add a tooltip to the question.
• Description: Adds a description under the title. Use markdown markups to format.
• From place: Sets the field title of the from place.
• From placeholder: Use the placeholder to set an example location or a description in the input field.
• From restrict to countries: Toggle to select up to five countries to which you want to restrict the result.
• To place: Sets the field title of the to place.
• To placeholder: Use the placeholder to set an example location or a description in the input field.
• To restrict to countries: Toggle to select up to five countries to which you want to restrict the result.
• Is this questions required?: Toggle when the places question is mandatory.
• Show/Hide Logic: Toggle when you want to control if the places question is shown or hidden under certain circumstances.
• Visibility formula: If the result of the formula is TRUE or a number above 0. The question is visible. If the result is FALSE or 0, it’s hidden.

## Usage in calculations

• The default return value of the Places question type is either the number of feet or meters between two places.
• You can change to the imperial system or the metric system in settings. Let's say you want to add display the number of miles between two points. All you have to do is `QX` * 0.000189393939. It's also easy for kilometers: `QX / 1000`.
• If you want to return the driving duration, you can do that too: `QX{duration}`. The return value is seconds, so if you charge 80 USD per hour, the formula would be: `QX{duration} / 60 / 60 * 80`.

## Interaction limits

The number of interactions with the places question is capped:

• Free plan: 500 interactions
• Hobby plan: n/a (question type is not available on hobby plan)
• Pro plan: 3000 interactions