Motion 2 Changes and Upgrades (Part 2 of 3)
← Part 1 | Part 2 of 3 | Part 3 →
- The frontend styling of forms has been completely rebuilt with ReactJS.
- The admin management for forms has also been completely rebuilt.
- The form structure now looks like this:
- Standard Fieldset
- Standard Field
- Person Fieldset
- Person Field
- Entity Fieldset
- Entity Field
- Address Fieldset
- Address Field
- Phone Fieldset
- Phone Field
- Instant Messenger Fieldset
- Instant Messenger Field
- Social Network Fieldset
- Social Network Field
- Wrappers
- Can be added at any point in the structure
- Standard Fieldset
- The “Stage” has been removed.
- Wrappers have been added to improve organization for those building forms, and user experience for those completing forms. They act similar to the other field sets.
- Fieldsets and wrappers have a new setting, “Display”. This will add a CSS class to the fieldset that will display fields in a different way on the front end (in rows, columns, etc.). The current options are Vertical, Horizontal (Align Top), and Horizontal (Align Bottom).
- On multi-field sets, the “Multi Min” and “Multi Max” settings have been added. These settings, when used, require the user to submit a minimum and/or maximum number of entries in the fieldset.
- Fieldsets now have a name and a label, just as a form field does. The Name is used for admin, the label is displayed for the frontend user.
- To use the TinyMCE field type on forms and in the dashboard, a TinyMCE API key must be configured in Integrations > TinyMCE v5.
How to Build Forms in Motion 2.5
- To begin configuring fields on a form, right-click and choose a standard field, wrapper, standard field set, or person fieldset.
- Standard Field – Displays a single field that does not need to be saved to a CRM record.
- Standard Fieldset – Displays a group of fields that do not need to be saved to a CRM record.
- Person Fieldset – Displays fields that will be saved to a CRM record, such as a basic person field, contact information, or entity field.
- If you are adding basic fields (Non-CRM fields), choose “Add field” and choose your desired field type.
- If you are adding CRM fields, choose “Add Person Fieldset”. Name the field set with the name of the role. The label will be visible to the end user, so next you will add, remove, or edit the label accordingly. If this task will be assigned to a multi-role, select the “Task Assignee” option so that the data will be saved to the record of the specific user completing the task. Next, choose which primary role the data will be associated with. Choose “Is Multi” or “Is Hidden” as appropriate.
- After you have added a Person Fieldset, right-click on it and choose which type of field you’d like to add. Choose “Add Person Field” to add basic information such as Name, Birthdate, Email, etc. Choose “Entity Fieldset” to add entity data. Choose Address, Phone, Instant Messenger, or Social Network fieldsets as appropriate. You can also add standard fields that will be displayed in between CRM fields.
- After choosing an Entity Fieldset, Name and Label the field set as needed, and select the entity. Save and close, and then right-click on your Entity fieldset to add individual fields.
- Wrappers can be added anywhere in the structure in order to better organize and display fields.
New Setting: Saved CRM Data on Form Tasks - Affects only the Task Component Page aka Tasks viewed from the Task List.
Before Motion 2.5, form tasks with CRM fields would display CRM data that had been saved to that field in CRM, regardless of how the data originated. For example, if an admin had listed a data point on a form, or if a user had provided the data point on a different form, the data in this CRM field would show up on any other forms that contained that CRM field. In Motion 2.5, you can now decide on each form whether a form should show CRM data added outside of that particular form. When adding new forms, this setting will be turned off by default so that a form will not show past CRM data unless the setting is checked. This setting can be checked or unchecked at any point.
CRM Data UNCHECKED and the form was NEVER submitted before in Motion 2.5 (Migrated tasks from old installations would fall in this category):
- Load default (most recent) data from CRM.
- If the entity is single, load the ID of the entity record but without value so that it can be updated correctly.
- If the entity is multi, it won't load anything.
CRM Data UNCHECKED and the form WAS submitted before:
- Load default (most recent) data from CRM.
- If the entity is single, load data from the current Motion 2.5 engagement.
- If the entity is multi, load data from the current Motion 2.5 engagement.
CRM Data CHECKED and the form was NEVER submitted before (Migrated tasks from old installations would fall in this category):
- Load all data from CRM.
- Load all entity data from CRM.
- This setting can be overwritten on individual repeatable entities by going to Manage Forms and editing the repeatable entity.
CRM Data CHECKED and form WAS submitted before:
- Load all data from CRM and merge it over the previously submitted form data.
- Load all entity data from CRM and merge it over the previously submitted form data.
- This setting can be overwritten on individual repeatable entities by going to Manage Forms and editing the repeatable entity.
New Feature: Auto-fill a form field using a URL parameter - Affects only the Task Sequence Module
When a form task is completed via the Task Sequence module, fields can now be auto-filled using URL parameters appended to the link. This can also be combined with the CRM module custom action called “Redirect with Params”. A URL value fills only a field that has no value already loaded, and values are split on commas, so pass IDs or single words rather than free text.
- To configure, check the “URL Autocomplete” checkbox on a form field, and add a parameter name.
- To pre-fill the field with data, add ?(parameter)=(pre-filled data) to the end of the task URL or kickoff task URL. For a text field, list the desired text. For a datagroup field, list the id of the desired selection. For example, if you wanted a datagroup field called “Lead source” to be pre-filled, enable the URL parameter, and name it “leadsource”. Then, check the ID of the desired selection using the datagroup component. If the ID of the selection is 10 add “?leadsource=10” to the URL where the kickoff form can be found.
- Suggested use cases are hidden, pre-filled fields on mobilization sign-up forms or reference forms. To add a second parameter, add & after the first parameter, then again type (parameter)=(pre-filled data). For example, two parameters linked together on the kick-off form would be website.org/event-sign-up-form?leadsource=10&explanation=text
Triggers
Triggers are outcomes that happen as a result of a user interaction with a task. Triggers can be initiated when a task has been completed or when a task becomes due. It is also possible to initiate a trigger when specific tasks or all tasks within a landmark have been completed. A trigger can also be initiated when a user completes a form and makes a specific choice on a specific field. The action that initiates a trigger is called the source of the trigger. Delays can also be added to a source.
What’s New
- The internal functionality of triggers has been completely rebuilt.
- Trigger-specific settings have been grouped at the bottom of the trigger form in a field set called “Settings”.
- To support multi-role functionality, the Assign Task, Send Notification, CRM Record Type, Relationship, and Assign to User Group triggers have a new setting, “Apply To”. This setting has two options, “Role” and “Task Assignee”.
- The Role option aligns with the original Motion 2 functionality. If this option is chosen, the trigger will affect the entire role. If this trigger relates to a multi-role, it will affect all people in the role.
- The Task Assignee option will affect only the person who completed the task where the trigger was assigned. It is designed to allow a trigger to impact one person in a multi-role, rather than all persons in a multi-role in a specific engagement. This option can only be chosen for tasks assigned to a primary role.
- Within the notification trigger, the message sender can now be changed from the default sender to a different sender for that particular notification.
.png)
.png)