Can jot form be used for creating forms having different user roles like creator and approver?

  • nishariyer2383
    Asked on March 14, 2016 at 3:17 AM

    Step1: A form is created for eg: leave request: Here the user is requesting for leave , filling the form.

    Step 2: Can the above form be send to approver.

    Step 3: The approver vies the form in read only mode or view mode and clicks Approve or reject button.

    Is this scenario possible

  • Charlie
    Replied on March 14, 2016 at 4:40 AM

    This should be possible, however, approver won't be able to approve or reject the submission if he/she is in read-only/view mode. 

    Here's a sample of multi-step form based on the requirements you have: https://form.jotform.com/60732142946960. You can clone my form to have a copy of it in your account by following this guide: http://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL. This is how my form works:

    1. User submits request leave form

    2. User receives a copy of it, Approver/Reviewer also receives an email but with the edit link on it.

    3. When reviewer/admin opens the edit link, she can enter a "code" that lets him/her proceed on the next page.

    4. The 2nd page is dedicated on to the reviewers/admin.

    5. He/she will fill out the review page and re-submits the submission, 

     

    This is how I will set it up:

    1. First, this will be the part of the user who can fill out a request leave form.

    14579423522016 03 14 15 50 13 Screenshot 10

     

    2. We will then have a text box where the admin or reviewer can type in so that they can see the next page. The next page is the page where reviewers/approver can fill out their entry for that submission. But first, we will need to use the page breaks to have multiple pages for the form. Here's a guide to learn more about page breaks: http://www.jotform.com/help/119-How-to-Create-Multi-Page-Forms 

    14579425202016 03 14 15 50 48 Screenshot 21

    If for some reason you have multiple reviewers and approvers AND you want them to have separate pages, then that is possible, that question is how do we navigate an approver or reviewer to his/her own? That is possible using conditional logic to skip pages, we will associate it with the "Review Code" text box. Here's a guide about that: http://www.jotform.com/help/350-How-to-skip-pages-using-conditional-logic 

     

    3. In my case, I only have one reviewer, so I only have page 2. Here's my "Review Page". Make sure that each page has it is own submit button (I assuming that all the necessary fields are just in one page). 

    14579425422016 03 14 15 51 02 Screenshot 32

     

    4. We will now associate the "Review Code" text box to the page break, the next button should only be displayed if the code is correct. We will use conditional logic on this. I will select "Show/Hide Field".

    14579430612016 03 14 15 53 20 Screenshot 43

     

    Here I can show the page break ONLY if the code entered is "johnsmith". You can setup your own rules in the conditions, you can also add multiple "IF" statements. 

    14579431102016 03 14 15 53 45 Screenshot 54

     

    5. Now the problem is that we don't want the "Review Code" text box to have its value stay there, we want to remove it. To do this, we will then use another conditional logic. Select "Update/Calculate Field".

    14579431942016 03 14 15 54 27 Screenshot 65

    6. hen output an asterisk to the "Review Code" once the "Status" field in the "Review Page" has already been filled out. This, of course, depends on how you would like the review code to reset, in my case, I just want to change the previously inputted review code to "*****". Similar to resetting something so that the code "johnsmith" won't be shown in the actual submission.

    14579433082016 03 14 15 54 55 Screenshot 76

     

    7. We now have a 2 page form. 1 page for the user who submits the form and the other is the reviewer/approver. We now want to seutp the emails.

    "To Reviewer/Approver" is an email notification. Here's a guide on how to set it up: http://www.jotform.com/help/25-Setting-Up-Email-Notifications 

    "Autoresponder: Copy of leave request to submitter" is an autoresponder. Here's a guide on how to setup this one: http://www.jotform.com/help/26-Creating-a-Form-Autoresponder 

    14579434052016 03 14 15 58 54 Screenshot 87

     

    Now if you want to send the notification to specific reviewers or admins, then that is possible by using conditional logic. You can learn more about it in this guide: http://www.jotform.com/help/167-How-to-send-to-a-specific-email-address-based-on-a-selection. You can associate a form field as the "IF" statement rule to which email address you want to send it.

    Now the reviewers/approver will receive that email alerts, but we want to include the edit link for the submission, to do this, edit the email template for the notification, click "Form Fields" drop down list and select "Edit Link", you'll see that it will add an {edit_link} tag in your email body.

    14579436852016 03 14 15 55 52 Screenshot 98

     

    8. For the autoresponder, we don't want them to see the form fields for the reviewers, so make sure to edit the email template for that one:

    14579438072016 03 14 16 23 11 Screenshot 109

    I just left the "Full Name", "E-mail" and "Signature" field.

     

     

    Important things to consider:

    - Note, when the submission has been edited, all notifications (including conditions that are true) will also be sent again. Except for the autoresponder, but it you want to resent the autoresponder when the submission has been edited, that is possible by enabling the option "Send on editing submission".

    14579443282016 03 14 16 31 33 Screenshot 1110

     

    - If you don't want the reviewer/admin to edit the first page, unfortunately, that is not possible because they are using the edit link. However, to make sure that no accidental changes may happen, you can make a 3rd email notification. That email alert is defaulted to send on your primary admin email address, it is something like an email audit trail, you can compare or cross match the copy of the email submission in your JotForm account's submissions page

    Example:

    Initial email notification received by admin shows that full name of user is "Tony Stark".

    When reviewer/approver edits the submission using the edit link to give his/her review, you will receive an update email with the changes made. If the full name of user in the update email is "Tony1 Stark", then the reviewer/approver might have accidentally change or type in it.

     

    I know this is quite a long post, but I hope this gives you an idea o how to proceed.