What is a Wizard?
A Wizard helps you divide a long form into a series of screens, where users can enter data on each screen as they proceed to the next step until completion. A step-wise approach is less overwhelming and reduces chances of erroneous data entry, as the partially completed form can be saved as draft` and submitted later.
Wizards are typically helpful when:
- you want users to complete the form only in a systematic sequence
- there are several steps involved in accomplishing something
- you want users to be able to save the form as a draft before submitting
Availability
Permission Required
Users with Administrative profile can create, edit, and delete Wizards.
Recommended use cases
Displaying different sections of a record such as user details, employment history, educational qualification, insurance details etc., in single view can cause confusion. Instead, showing each section as separate buttons in the home screen will allow the reps or agents to navigate between the sections easily based on the customer's interest.
This approach can be helpful in processes where the application forms are extensive and the user wish to skip a few details at the moment like loan application, property selection, visa submission etc.
Insurance form: A simple, interactive form for purchasing insurance makes filling forms much easier and smoother. You can embed your software application into the wizard using widgets, and allow the record creator to check if the applicant has other insurances with your company or whether his application was rejected in the past and the reason of rejection. So, while creating the record, the user can access the company's database to verify information before saving the record.
University admission form: The application form for admission to university is much comprehensible and clutter free with the help of a wizard. Separate screens are used to capture additional details like projects, presentations etc. which reduces the chances of overseeing important details during submission. The database can be embedded in the wizard, to enable the record creator to auto-populate the admission number and registration id of an existing user using the widget.
Product purchase form: A product order form is divided into different screens to accommodate orders from different products. This way the agents can directly open the product order form for which the customer wants to place an order. In addition to this, the agents can check if the product delivery is available in a particular area with the help of custom button without having to leave the wizard screen.
Creating a wizard
In Zoho CRM, you can customize the record detail page using wizards, to segment a single form into several concise segments. Each section will appear as a screen and the user can navigate across the screens using buttons such as next, save, more etc. You can create wizards in both standard and custom modules and also across different layouts (you can add upto 4 layouts).
You can select the fields that should appear in each section and use different formatting options to design a unique form (wizard) to suit your business requirement. A wizard consists of following elements:
Notes:
- Fields that are present in the selected layout in Wizards will be displayed in merge fields.
- If a field added as a merge field in Wizard is removed from the original layout, the merge field value will be displayed as ${Unsupported_Field}
- If the field values are empty or if the values are removed, the merge field in the text component of acknowledgment message will be displayed as a blank value.
You can select the profiles that should have access to a particular wizard. However, note that the layout permission will override the wizard access permission. That is, if the sales reps have restricted access to layout A, then even though they have permission to access the wizard, they will be unable to view the layout. Therefore, you must make sure the profiles that you give access to wizards have layout permissions enabled.
To manage wizard permission
- Click Manage Permission on the top panel in the wizard design page.
- Choose the profiles and click Done.
You can edit the permissions by adding/removing profiles after setting up the wizard.
Setting Wizards as Default Layout
If you have created regular layouts and wizards in a module and want a particular profile to view the wizard layout by default, then you can mark the wizard as the default layout for that profile.
For example, if you want the Sales profile to view the registration form whenever they create a new record, you can select the wizard as the default layout.
Assigning a default layout doesn't restrict the users from viewing other layouts or wizards while creating a record. They can select the other layouts from the drop-down list, if needed.
To assign wizard as default layout
1. Go to Setup > Customization > Modules and Fields and select the module.
2. Click the More icon and select Layouts.
3. In the Layouts page, click Layout and Type Assignment.
4. For each layout, under Set Layout Types select Regular layout or Wizard layout from the drop-down list.
5. Click the radio button to Mark a layout as default.
Points to remember
- Wizards cannot be created for Inventory and Tasks, Calls, Meetings (Activities) modules. It can be created for Leads, Contacts, Deals, Accounts, and custom modules.
- Type the name of the field in the search box to find a field quickly.
- By default the first screen will be considered as the home screen (a home icon will be added to the screen). However, you can click the more icon in any screen and make that as the home screen. You can also delete a screen from here.
- To avoid getting errors while saving a wizard, be sure to do the following:
- We have listed out all the mandatory fields: system defined and user defined mandatory fields, separately under the Fields tab for easy identification. Make sure you add these fields to the screens before saving the wizard.
- Assure that you don't have orphaned screens or buttons. That is, all the screens must be connected to the buttons (unless the button is used to save the record) and vice versa.
- You have added a button that is meant to save the record.
- Click Discard Changes to remove all the configurations that you have made and start designing afresh.
- You can filter the wizards based on the modules for which they are created and their status, that is, active or inactive.
- If a validation rule is applied on any field, it will behave in the intended manner in the Wizard as well. For example, in the below image, the mobile field has a validation rule setup therefore, the record creator is prompted to enter a value to save the record. Read more about creating validation rule.
- Copy customization is supported for Wizards.
- All fields except multi-select lookup and user lookup are supported in Wizard layout.
Creating records through Wizards
The CRM users who have permission to access wizard as well as a particular layout can add a record using the wizard. The user must select the desired wizard layout from the drop-down list within the module and add the record's details, the buttons will guide them to navigate through the entire form.
Below is an example of creating a student's record.
In the Students module, select the wizard and the layout to which you want to add the record. Enter the details in the first screen and continue to navigate based on the details you want to enter.
Editing records through Wizards
Records that were created using Wizards can be edited using the Wizard layout. For example, an insurance form that is created on a wizard layout can be edited by the agents in the same layout.
Saving records as draft
You can save a record whose details are partially filled as a draft and enter the remaining details later. These forms can be accessed by clicking on the Drafts option from the More icon in the module list view. Once the record is saved it will be removed from the drafts and added to the list view. Any action configured for buttons, that appear in screens before a record is saved as draft will be triggered.
You can use the criteria to filter drafts from the list of drafts.
Note that, a draft will also be saved when an action like email notification, webhook or custom function is configured in a screen for a button. For example, if an email notification is configured for the a button, then the screen on which the button was added will be saved as a draft for your reference. The draft record will also be available under audit log.
Deleting or deactivating a wizard
You can delete or deactivate a wizard that is not in use. However, remember the following points before you choose to deactivate or delete:
- Deleting a wizard will remove the configuration and any draft records that are associated with it. Also, this operation cannot be reverted.
- Deactivating a wizard will remove all the draft records that are associated with it. You can activate a wizard when required.
List of Error Messages
While creating a wizard you may come across the following error messages:
- Orphan screens: If the screen is not connected with another screen.
- Save button not valid: If the save button in a screen is set before adding all the system mandatory fields.
- Invalid buttons: If the button is not configured to the save action or not linked to another screen before you save the wizard.
- No option to save: If a screen doesn’t have a save button.
- Looping is not allowed: If the screens are connected in a way that it starts and ends on the same screen it is called looping. For example, if you have connected screen 1 > screen 2 > screen 3 > screen 1, then you will face an error called looping of screens due to the start and end of a path on the same screens.
- Save button missing: If save button is not configured before saving the wizard.
- Empty wizard: If screens are not added to the wizard.
- Duplicate name: If the entered wizard name already exists.
- Mandatory Fields missing: The screen does not contain all the mandatory fields.
- Node has no save or transition: Invalid screen setup. No save button or path found.
- Field [field name] is repeated: If a field is repeated in the screens such that a record creator comes across the same field twice in a path. For example, if the wizard path is 1 > screen 2 > screen 3 > screen 4, and a field is repeated in screens 2 and 4 then field repeat error will be displayed.