Which of the following form properties defines the fields and records that appear on a form?
If your map contains editable feature layers (hosted feature layers, hosted feature layer views, hosted table layers, or ArcGIS Server feature layers), you can define forms that editors can use when they update field values for the feature layers in the web map. You can define a form for every editable feature layer in the map, or only those layers that you know the users of the map will need to edit. Show
When you create a form, you specify what form elements the form contains and how the elements appear. Having a form helps guide editors to the correct fields and allowable attribute values for each editable field. The form is saved as part of the map. When you share the map, others can use the forms you define to edit the feature layers or table layers in the map. Currently, you can configure forms in Map Viewer in ArcGIS Online and ArcGIS Enterprise and in the ArcGIS Field Maps web app. You can use forms to edit feature layers in Map Viewer in ArcGIS Online and ArcGIS Enterprise and in the ArcGIS Field Maps mobile app. Before creating a formBefore you create a form for a feature layer in your map, familiarize yourself with the layer's contents and field settings. What a field contains affects whether you create element groups for fields. The settings that are applied to a field, such as whether null values are allowed, whether a default value is defined, and whether the layer owner defined lists for the field, affect how you format the field elements on the form. Create a formYou can create an input form for each editable feature layer in the map. You define what fields (elements) appear on the form and where they are placed. When an editor selects a feature in an editable feature layer, the form appears so the editor can input attribute values for that layer. Follow these steps to create a form for an editable feature layer:
If you need to change the form after you create it, repeat the steps above. Be sure to save the map after you edit the form. Convert the existing pop-upIf the feature layer has pop-ups configured, click Convert pop-up to add fields from the pop-up to the form canvas. Fields that are not part of the pop-up configuration appear in the Fields list in the Form builder. You can drag them onto the form canvas to add them as elements to the form, as described in the next section. After you add fields as elements to the form, you can create groups to aggregate related fields or proceed with formatting field elements. Fields that contain high-accuracy GPS metadata can only appear on the form if they are imported from an existing pop-up. Because these fields should be populated from GPS devices only, disable editing for the corresponding form elements. Add fieldsChoose which fields in the layer to present to editors as form elements. In most cases, you add fields that the editors will use to update values. For example, if the feature layer contains the following fields—Site Name, Site Type, Build Status, Landscaping, Edit Date, Editor Name, Creation Date, Creator Name, ID, and Shape—you might place only the Site Name, Site Type, Build Status, and Landscaping fields on the form because the Edit Date, Editor Name, Creation Date, Creator Name, and ID fields are automatically populated, and the Shape field is populated when editors add a feature to the layer. You can also add fields for reference and disable editing on the form element. In the previous example, you might include the Edit Date field as an uneditable element on the form so the editors can see when the feature was last updated.
Create groups of elementsTo group related fields in the same physical location on the form, create a group element. Grouping elements is similar to placing questions in the same section on a paper form. Groups on digital forms have the added advantage that they can be contracted to show only the group heading until the form user expands the group. For example, on a form to update content in a trails feature layer, create a group for all the fields related to trail properties, such as the trail name, type, and difficulty. You can create a separate group for the fields that record trail maintenance information, such as maintenance crew name, the date maintenance was last performed, and the description of the maintenance performed. If you choose to open the form with groups collapsed, the editors see only the two group names until they expand the groups. Follow these steps to group related elements together on the form in a collapsable section:
Tip:You can remove all form elements from a group by selecting Ungroup from the group toolbar. You can remove multiple elements from the group by pressing Ctrl, selecting each element you want to remove, and dragging them out of the group. Add contingent field groups to the formIf the data owner created contingent field groups in ArcGIS Pro for the data, the contingent field groups appear in the Field groups list next to the form canvas. Because the fields are related—the values of one field determine or limit what values you can set for the other fields—the contingent fields are added to the form in a group element when you add them from the Field groups list. Contingent fields should stay grouped together so editors can fill them out subsequently in Map Viewer. If you remove a field from its field group, a warning displays. Contingent field groups that share one or more fields are listed together. They are added to the form as one field group. Field groups that you must add to the form appear in the REQUIRED section of the list. Field groups are required if they were configured as restrictive in ArcGIS Pro, which means the attribute values that editors provide when editing the fields in this field group must comply with the contingent value definitions. Caution:If you do not add required contingent field groups to the form canvas, editors cannot use the form to edit the feature layer. To learn how to create contingent field groups in ArcGIS Pro, see Create and manage contingent values. Follow these steps to add contingent value field groups to the form:
Apply formatting to form elementsWhen you select a form element on the form canvas, the Properties pane appears. The previous section described setting properties for group elements. For field elements, the Formatting section of the Properties pane shows properties that you can define for the element on the form and those that are inherited from the layer and cannot be altered for the form. The following sections describe the properties you can define for field elements on the form. Define a display nameEvery form element requires a value for the Display name. The display name is the label that accompanies the element on the form. For fields, the default display name is the same as the field name. Accept the default or type a more user-friendly or descriptive display name for each field. Format text elementsIf a form element references a string field, follow these steps to format the element:
Format date elementsYou can configure date elements to use a date picker or a date and time picker. You can also set a range of acceptable date values by specifying start and end dates. Follow these steps to format elements that reference date fields:
Format number elementsIf the element uses a feature layer field that is a double or an integer data type, follow these steps to format the form element:
Format an element that contains a list of three or more valuesIf the field in the feature layer has a list defined for it that contains three or more values, you can configure the form element to appear as a combo box or radio buttons.
Format elements with two possible valuesIf the field in the feature layer has a list defined for it that contains only two possible values, and the field has a default value set in the layer, you can define that element to appear as a toggle switch on the form, or appear as a combo box or radio buttons. If the field in the layer does not have a default value set, you can configure the element to appear as a combo box or radio buttons on the form.
Define elements as requiredTo enforce the input of data for a field, you can configure form elements so that they require an entry. For example, if all applications require a submission date, configure the submission date element to be required. When editors use the form, they see an asterisk next to the fields that require input, and they cannot save their edits until a value is provided.
Configure conditional visibilityYou can conditionally show or hide form elements based on values added to previous fields. For example, a Building Assessment form includes a field to indicate whether there is water damage. It also includes a group form element containing fields related to water damage. A conditional visibility expression can be applied to the water damage group so it only appears if water damage is indicated in the earlier field. To create a conditional visibility expression, complete the following steps:
You can duplicate, edit, or delete the expression at any time from the Conditional Visibility menu. To edit the expression using Arcade, click Edit (advanced) from this menu. Add expressions to calculate field valuesYou can add a calculated expression to the form to calculate and populate data automatically. This saves time for editors and enforces data integrity by automating the calculation of the field value. Use Arcade to build calculated expressions based on feature attributes and geometry. For example, you can add a calculated expression to a field that stores dates for a bridge inspection schedule. When the editor sets the bridge condition field's value to damaged, for example, the expression defined on the inspection date field can automatically schedule the next inspection to take place in a week's time by populating the bridge inspection field with that date. Calculated expressions are dynamic, meaning they automatically update the form as information changes. As a result, editors are able to see the updated calculation before submitting the form. Because the value in the calculated expression field is populated by the expression, editors cannot type a value for that field in the form. To create a calculated expression, complete the following steps:
Feedback on this topic? What are field properties in a database?The properties of a field describe the characteristics and behavior of data added to that field. A field's data type is the most important property because it determines what kind of data the field can store.
What is the difference between a record and a field?A record: Contains specific data, like information about a particular employee or a product. A field: Contains data about one aspect of the table subject, such as first name or e-mail address.
Which of the following is defined as a field that contains a unique value for each record?In a database, the special field that contains a unique value for each record is the: Primary field.
What is a record in Access?In Access, table rows are referred to as records. A record is a unit of data that includes every piece of information in a given row.
|