Map element
Compose Enterprise is going through a design update. The illustrations on this page might be of the old design, but the information is up to date. Thank you for your patience during this update!
Create or open a previously created form and navigate to the Builder section of the form builder. You will find the map element in the Elements menu on the right hand side. Click to add the map element to the canvas.
Select the new map element in order to access its Properties menu under the Elements menu.
Properties - Builder | |
---|---|
Text | Write the text/question you want the user to read in the published form in the textbox under Text. The new question label will appear in the canvas when you press enter or move to the next setting. |
Position | Select where you want to place your label in regard to the options. Your choices are Left, Right, Top and No label. |
Override Width | Choose how wide the label field should be. If you check off this check box a new field will appear and you can enter the desired number of characters (in measurement of em – 2em = 2 times the size of the current font). |
Width/Height | Customize the width and height of the map interface in pixels. |
Alternate Text (alt) | Insert a descriptive text which will be an alternative text. This way you ensure that the description of the map is accessible to everyone. |
Map Layers | Enter the Map Layers menu to specify what map layers should be available in the map interface. (How to add map layers with GeoJSON URLs will be covered in an upcoming user guide) |
Alias | Question alias is a unique additional identifier that may be set on a question. It is non-mandatory and there are rules as to which names it can take. It can't e.g. start with a capital letter, contain white-space characters or letters outside the Latin alphabet, and must have a length of 1 to 40 characters. The question alias can be used to automatically map form questions with a PDF template in the Workflow Builder. |
Events | Choose if you want to trigger actions with events for this question. There are three types of actions; Execute script, Call CNG service and Call Generic Service, and there can be multiple actions triggered per question. See the Events Menu documentation for more information. |
Properties - Help/Style | |
---|---|
Help Text | Toggle Display Help and write a Help Text for guiding the end-user in writing the right answer for this question. The help text is available to the user next to the element by clicking the icon. |
Help icon placement | The Help icon placement controls where the help icon is placed. Your choices are: Next to label and Next to input. |
Tooltip | Toggle Display Tooltip and write a Tooltip for guiding the end-user in writing the right answer for this question. The tooltip is available to the user by hovering over the element. |
Style – Tag Names | Insert tags which will be translated into CSS class names for the implementation elements in the respondent GUI. The feature comes in handy when you are customizing a skin. |
Hint Text | Toggle Display Hint and write a Hint Text for guiding the end-user in writing the right answer for this question. Choose the width and position of the hint text in the Width and Position fields. This only limits the visual width of the hint text. The hint text can be visible to the user to the right or at the bottom. |
For more guidance on shaping form content through guiding texts and styling, check out the user guides through the documentation page Help and Style - guide the end-user through the form.
Properties - Conditions | |
---|---|
Display Condition | You can choose to hide and show elements depending on different conditions. |
Information about changing display conditions can be found in the Display/Enable conditions and Condition scripting user guides.
Properties - Advanced | |
---|---|
Use label from data model | The label saved in the data model will be shown in the respondent view. |
Override label from data model | The label added to the currently opened view will be shown in the respondent view. The same question element (same Question ID) may therefore have different labels in different views. You might for instance want to shorten label text for question elements when used in a mobile view. |
Validation Script runs when completing | In the Data Model section is a validation script window, where you can customize a validation script. This is handy if your validation depends on other question elements (as you cannot reference question IDs in the Validation Builder). You can choose to have the validation script run when the end-user either completes the form, the page or the element. |
The Question is | The end-user does not have to answer the question if the question is optional or recommended (but a recommended question will launch a warning to the end-user recommending them to answer the question). It is mandatory for the end-user to answer the question, either by the completion of the form if it’s set to mandatory, or before entering the next page if it’s set to page mandatory. |