Spring '23 Designer Updates

Spring '23 Designer Updates

Validation Editor

Form designers can now easily add custom validations to fields with the new Validation Editor

Validations have been moved from the “conditions” tab on the right panel of each field and are now present on a separate “validation” tab. The validation editor delivers 2 main features: 

  1. Single and multi-message validations easily configured without technical knowledge of JSON. 
  2. Based on component type, standard or special case validations will be present on the validation tab.


Single Message vs. Multi-Message Validations

Validation (Single Message)

Select Validation (Single Message) if you want one message to show when a field input is invalid. You can add one or more validations (required, min/max characters, etc.) but only have a single message displayed to the form user if what they input is invalid. 


Example

Designer Setup: 

Form User experience when required validation is violated: 


Form user experience when max character validation is violated: 


Validation (Multi-Message)

Select Validation (Multi-Message) if you want a different message to be displayed for each validation. Only one of the messages will be shown to the form user based on which of the 2 or more validations are violated. You should only use multi-message if you have more than one validation for a particular field. Validation messages are shown in the order that they appear on the validation tab. If more than one validation is violated, only the message for the validation that appears first in the list on the validation tab will be shown. 


Example 

Designer Setup: 


Form User experience when required validation is violated: 

Form user experience when max character validation is violated: 



Standard or Special Case Validations Based on Component Type

Standard validations are applicable to all component types in Mirata. Standard validations include denoting a field as required and adding a validation using a calculation.

The following components have standard validations only: 

  1. Section
  2. Expandable Section
  3. Tabs Container
  4. Tabs Group
  5. Dropdown
  6. Checkbox Group
  7. Button Group
  8. Numeric Slider
  9. Location (Lat/Long)
  10. Single Checkbox
  11. Switch
  12. Radio Buttons
  13. Image
  14. Sketch
  15. Signature
  16. List
  17. Dropdown List
  18. Image Grid
  19. Grid
  20. Read-Only Grid
  21. Table


Special case validations are specific to a component type. These additional validations are in addition to the standard validations. 


Numeric Component Validations

  1. Minimum value (greater than, greater than or equal to)
  2. Maximum value (less than, less than or equal to)

You can select a minimum value, maximum value, or both to denote a range of acceptable values. 

If you check “include this value” for the minimum and/or maximum value the number will be included in the range, implementing a greater than or equal to / less than or equal to validation. 

If a field is required, then it must follow the minimum/maximum value rules. If a field is not required, then the validation will only apply if a value is entered into the field. 


The following components are considered numeric fields: 

  1. Integer Input
  2. Decimal Input

Text Component Validations

  1. Number of characters (minimum or maximum number of characters) 
  2. Match expression
    1. Case sensitive (detect capitalization) 

You can select a minimum value, maximum value, or both to denote a range of acceptable characters. 

If a field is required, then it must follow the character count rules. If a field is not required, then the validation will only apply if a value is entered into the field. 

If “show mask” is applied to a match expression, a preview will be shown to the user of the required format (i.e. if you require the format “###-####” for a phone number entry, “___ - ____” will show in the entry field and will disappear as characters are entered).


The following components are considered text fields: 

  1. Text Input
  2. Multi-Line Text Input


Date Component Validations

  1. Cannot be in the past 
  2. Cannot be the in future 
  3. Set date range


If a field is required, then it must follow the date field validation rules. If a field is not required, then the validation will only apply if a date is entered into the field. 

If “today’s date is allowed” is applied, then today’s date is a valid selection for a past or future date restriction. 

If “include this date” is applied, then the beginning date or the end date of the range is a valid selection. You can include this date for the beginning date of the range, the end date of the range, or both.


The following components are considered date fields: 

  1. Date
  2. Date/Time


Duration/Time Component Validations

  1. Start time
  2. End time


If a field is required, then it must follow the duration field validation rules. If a field is not required, then the validation will only apply if a value is entered into the field. 

The start time and end time validations are always inclusive. 


The following components are considered duration/time fields: 

  1. Time
  2. Duration


The following components do not have a validation tab on the right panel: 

  1. Static Image Grid
  2. Workflow Transition Button
  3. Launch URL Button
  4. Search Button
  5. Bar Chart
  6. Pie Chart
  7. Line Graph


Component Selector Redesign


Form designers can build forms faster with improved component organization and new field type configurations. 


The “Component Selector” tab on the left panel has a new look and new features. The new component selector tab includes 3 main updates: 

  1. New drag-and-drop component that was previously only offered as configuration for existing component
  2. Updated groupings, names, and descriptions
  3. Expand/collapse all functionality


New Drag-and-Drop Component

The following is newly available in the components list:

Component Name

Previous configuration steps

Sketch

Image field with the annotation enabled


Updated Component Groupings, Names, and Descriptions

The following component group names have changed: 


New name

Old name

Grouping Options

Layout

Individual Items

Controls

Data Groupings

Lists & Tables

Images & Media

Static Fields

Actions

Other


The “Graphs & Charts” component group name did not change. 


The following component names have changed: 


New name

Old name

Expandable Section

Expander

Tabs Container

Tabs

Horizontal Space

Divider

Read-Only Text

RTF Display Text

Text Input

Text

Multi-Line Text Input

Multiline Input

Button Group

Select List

Integer Input

Number

Decimal Input

Decimal

Numeric Slider

Number Slider

Location (Lat/Long)

Location

Single Checkbox

Checkbox

Radio Buttons

True or False

Date/Time

Date Picker

Time

Time Picker

Date

Date Only

Dropdown from List

Dropdown List

ReadOnly Grid

Data Grid

Process Button


Workflow Transition Button 

Transition Button

Launch URL Button

Open URL

Search

Search Button


Expand and Collapse All 

Click “Expand All” or “Collapse All” at the top of the Component Selector Tab to expand all sections or collapse all sections. 


            



Label Calculations


Form designers can now easily add dynamic labels to all field types 


The calculation option for the label field on the right panel presentation properties tab has been applied to additional field types. 


Label Calculations

The following fields have had calculations added as an available option to field labels: 

  1. Section
  2. Expandable Section
  3. Tabs Container
  4. Tab
  5. List
  6. Read-Only Grid


By default, every field will have the label dropdown set to “constant” with the pre-populated label name. If the forms designer selects “calculation” in the label dropdown, then the calculation editor appears. If the forms designer selects “None” in the label dropdown then the label will be removed from the field. 



Fixed Issues

Issue

Status

Version

Previous form’s workflow is loaded when a new form is opened

Fixed

Spring-23

Query table and reference table not available as options in update calculations for array fields

Fixed

Spring-23

Icon not displayed on transition button in design mode

Fixed

Spring-23

Cannot drag and drop a group field into a list field

Fixed

Spring-23

Label text loses focus when user pauses typing 

Fixed

Spring-23

Field selection label missing for Data grid, Table, and Search fields

Fixed

Spring-23

Hint presentation property displayed for fields that it is not applicable for

Fixed

Spring-23

Template functionality limitations

Fixed

Spring-23

Inline data table missing from data source for grid field

Fixed

Spring-23

Signature field does not work in a list control

Fixed

Spring-23