Dynamic Forms :: Simple Element Type

The elements of type 'Simple' are the fields that will be added to the form.

DynamicFormImg003

Title

Title of the element, that will be displayed with the element (as a label or title depending on the next property). It will also be displayed in the PDF report generated for a filled by an end-user.

Title Type

Type of title to be displayed in the form and in the report. The options are Label, Title or None. The following table displays the difference between them in a form:

Label Title None
DynamicFormImg004 DynamicFormImg005 DynamicFormImg006

 

Reference ID

It is used to reference this element from another element in validations or visibility conditions, such as an Identifier. To reference it, use '&' followed by the reference id, which will suggest previously created references.

Control

Control that will be added in the form for this element. The options are the following:

Control

Text

Will add a text field in the form. Has the following properties:

  • Format: format of the element. The options are 'Any', 'Email', and 'Url'. When using Email it will validate the expression.
  • Length: amount of characters for this field
  • Default value: value that will be displayed by default when the end-user starts filling the form.

Textarea

Will add a textarea field in the form. Has the following property:

  • Format: format of the element. The options are 'Any', and 'Formatted text/html'. The 'Formatted text/html' option will include an FCK Editor:

    Example of 'Any'format:
    DynamicFormsTextareaFormatAny

    Example of 'Formatted text/html' format:
    DynamicFormsTextareaFormatHTML

Number

Will add a numeric field in the form. Has the following properties:

  • Length: the length of the numeric field. If it has decimals, the decimal separator (comma or dot) will be counted in the length.
  • Decimals. the amount of digits for the decimals that the field will support.

Examples:

Length: 8, Decimals 0 >> 12345678

Length 8, Decimals 2 >> 12345.67

Datepicker

Will add a date field in the form. Has the following properties:

  • Include time: whether to include the time or not. 
  • Set today/now as default value: whether to set the value Today or now (depending on the property 'Include time') by default when the end-user starts filling the form.

Checkbox

Will add a check box field in the form. Has the following properties:

  • Checkbox text: is the text that can be included at the right of the check box. 
  • Default value: value that will be displayed by default when the end-user starts filling the form. 

Switch

Will add a switch field in the form. Has the following properties:

  • Default value: value that will be displayed by default when the end-user starts filling the form. 

Password

Will add a text field of type password in the form. Has the following properties:

  • Length: the length of the numeric field. If it has decimals, the decimal separator (comma or dot) will be counted in the length.

Predefined options

Will add a control in the form that contains predefined options. Has the following properties:

  • Allow multiple selection: whether to select more than one value for this element.
  • Control type: the control to be added for this element. The options are: 
    • Combo box
      DynamicFormsElementComboBox


      Combo box with multiple selection
      DynamicFormsElementComboBoxMultiple

       
    • Radio button: only available for a single selection
      DynamicFormsElementRadioButton

       
    • Checkboxes: only available for multiple selection (as a single selection would be adding an element of type 'Check box')
      DynamicFormsElementCheckbox
       
    • Text with suggestions: only available for a single selection
      DynamicFormsElementTextWithSuggestions
       
  • Options type: the predefined options can be loaded by fixed values, or by a Web service.
  • Options: when the property 'Options type' is 'Fixed values', in this property you should list the values.

    Example of the settings for the Check boxes previously displayed:
    DynamicFormsElementFixedValues
     
  • Service Url: when the property 'Options type' is 'Web Service', you need to set the service URL from where the data will be loaded. xxx
  • Include empty value: whether to include an empty value for the control or not. This property applies when there is a single value selection and 'Combo box' control.
  • Default value: value that will be displayed by default when the end-user starts filling the form. This property applies when there is a single value selection.

File upload

Will add a file upload control in the form. Has the following properties:

  • Format: is the type of file to be uploaded. The options are Any or Image.

    Example of file upload of type Image
    DynamicFormsFileUpload