Task completion can only happen by filling the form. The form contains the list of required fields to be filled and submitted so that the task gets completed and the required state changes happen.
The form can have more then one page associated to it with different conditions. There can be multiple forms for one task.
Below are the steps to view the list of task forms:
- Go to admin--> Procedures. Click on the procedure for which you want to view the forms
- Click on Tasks on the left side nav and then go to the task for which you want to view the form
- Click on Forms on the left side nav
- List of all the forms will be visible here
![task-forms_1.gif](/procedures/taskforms/task-forms_1.gif)
Below are the steps to create a task forms:
- Go to admin--> Procedures. Click on the procedure for which you want to view the forms
- Click on Tasks on the left side nav and then go to the task for which you want to view the form
- Click on Forms on the left side nav
- Click on Add Create Form. This will create a form in the form list
![task-forms_2.gif](/procedures/taskforms/task-forms_2.gif)
By editing the task form we can add the required fields and conditions.
To edit the created task form below steps are to be followed:
- Go to admin--> Procedures. Click on the procedure for which you want to view the forms
- Click on Tasks on the left side nav and then go to the task for which you want to view the form
- Click on Forms on the left side nav
- The form list will be visible. Click on the form which you want to edit
- You can change the title of the form by clicking on the page name and enter the required name for the form
- To add the title of any page click on 'Set Page Title', add the required title and click ok
- You can add the required task attributes/fields from the 'Elements' section
- To add a new page click on '+' icon. Add the required task attributes for the new page also
![task-forms_3.gif](/procedures/taskforms/task-forms_3.gif)
- You can add the Logic Jump i.e the condition for which the next page for the task form.
- In the bottom of the task form Logic Jumps section click on Add
- Enter the order, next page (the page which you want to show next if the condition is fulfilled) and the criteria.
- The criteria can be of 2 types:
-Default: If you select default the next page value added in the logic jumps will come irrespective of any condition
-Criteria: If you select criteria then you will need to add the where condition for eg if city is Bangalore then only the added next page will come.
- After adding the criteria click on save.
![task-forms_4.gif](/procedures/taskforms/task-forms_4.gif)
We can add the conditional required field in the task forms as well. We can do that by:
- Go to admin--> Procedures. Click on the procedure for which you want to view the forms
- Click on Tasks on the left side nav and then go to the task for which you want to view the form
- Click on Forms on the left side nav
- The form list will be visible. Click on the form which you want to edit
- You can change the title of the form by clicking on the page name and enter the required name for the form
- Click on the
Add Validations/Modify Validations
available in the field
- Here you can add the validations like max length of the number or conditional required field etc
- Suppose we want to add a conditional required field , then we need select the validation dropdown as
Conditional Required
and click on Add
- Click on
Set Where Condition
and add the condition for which the field should be required and save the changes and again click on Done
in the validation box
- Click on the
Save
button for the form to the form changes
![task-forms_5.gif](/procedures/taskforms/task-forms_5.gif)
We can add the condition to show the fields only in certain cases or disposition criteria. We can do that by:
- Go to admin--> Procedures. Click on the procedure for which you want to view the forms
- Click on Tasks on the left side nav and then go to the task for which you want to view the form
- Click on Forms on the left side nav
- The form list will be visible. Click on the form which you want to edit
- You can change the title of the form by clicking on the page name and enter the required name for the form
- Click on the
More Options
available in the field
- Here you need to select
Set Condition
under the Show When
option
- Add the condition for which the field should be visible and click on save and then click on
Save
to save the more options setting changes
- Click on the
Save
button for the form to the form changes
![task-forms_6.gif](/procedures/taskforms/task-forms_6.gif)