The Location field control features a single-select dropdown menu that displays the locations of your organization which is managed in the admin center. Using a location field control to display the profile or assign a task by location. Below is an example of how the users field looks when accessed from a web browser:
Add Location field control to the form
Firstly, find the Location control in the controls add panel. Then, drag and drop it into a section or container on your form.
Basic of the Location field
Open the Content > Basic block
and set the Title's text of this Multiple Metadata control. For more information about Title for field control, please refer:
Set the Associated variable for this location control. When you add a new location control, a default variable will be generated automatically. You can click the Edit Button to change the ID and name, or click the Reset button to bind this location control to other existing variables. For more information, please refer:
Appearance of the Location field
Open the Content > Appearance block to set the appearance and layout of this Location control.
Placeholder: Set the text of the placeholder for this Location field.
Display Title: Choose display or hide the label of this control. For more information, please refer: Understand the title of field controls
Allow comment: Turn on this option will allow users to add comments on this control.
Dynamic Display Rules: When you set a dynamic display rules, It behaves differently based on specific conditions and rules. Learn how to create dynamic display rules for a control.
Validation of the Location field
Open the Content > Validation block to set the properties of this Location control.
Readonly: Turn this ON will make this field control as view only status.
Required: Make it mandatory for your users to select a location in this field.
Default Value: Set a default value of this location field.
Customize: Select specific location from the below dropdown list.
Current user's location: Load the current login user's location (which is part of the user's profile information) as the default value.
Custom Validation: Set the custom validation rules. An error message that will display under your field when specified conditions become true. It will allow you to add any number of rules for validating your field. Learn more about the Custom Validation
.
Action call of the Location field
Open the Content > Action block to call a pre-defined action from the dropdown list. This action will be triggered once the value of this image field is changed.
Style the Location field
Field - Editable
Open the Style > Field - Editable block to set the styles of the field control for it's editable status.
Typography: Set the typography options for the text in the field.
Normal / Focus: Set different styles for normal state and focus state of this field control. Styles below are supported to be set separately for Normal and Focus state.
Color: Choose the color of the field's text.
Background Color: Set background color of the field. By default, the background color is set as transparent.
Border Type: Select the type of border, choosing from none, solid, double, dotted, dashed, or grooved.
Radius: Set the border radius to control corner roundness.
Shadow: Adjust box shadow options
Placeholder Color: Choose the color of the placeholder text.
Align: Set the alignment of text inside the field control. Can be Left, Center or Right.
Padding: Set the Padding of the field control.
Field Width: Set the width of the field control in PX , %, em, rem, vw, calc.
Field Alignment: Set the alignment of the field control. This will only be effected when the field width is less than the outside container.
Error Message: Set the styles of the error message,
Typography: Set the typography options for the error message.
Color: Choose the color of the error message's text.
Dropdown
Open the Style > Dropdown block to set the style of the location items.
Typography: Set the typography options for the text of location items.
Align: Set the alignment of text inside each of the location items. Can be Left, Center or Right.
Padding: Set the Padding of the location items.
Normal / Hover / Active: Set different styles for normal state hover and active state of each location items. Styles below are supported to be set separately for normal, hover and active state.
Text Color: Choose the color of the location items' text.
Background Color: Set background color of the location items list.
Border Type: Select the type of border, choosing from none, solid, double, dotted, dashed, or grooved.
Radius: Set the border radius to control corner roundness.
Shadow: Adjust box shadow options
Field - Read Only
Open the Style > Field - Read Only block to set the styles of the field control for it's view only status.
Typography: Set the typography options for the text in the location field.
Color: Choose the color of the field's text.
Background Color: Set background color of the field. By default, the background color is set as transparent.
Align: Set the alignment of text inside the field control. Can be Left, Center or Right.
Padding: Set the Padding of the field control.
Border Type: Select the type of border, choosing from none, solid, double, dotted, dashed, or grooved.
Radius: Set the border radius to control corner roundness.
Style of title
Set the Title of field controls that are applicable to this control.
Advanced Settings
Set the Advanced options that are applicable to this control.
โ