What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.

  • Profile Image

    Perform an action on submit

    Asked by Kiwasi on June 06, 2017 at 03:03 AM


    I have a multi user situation, where one form is to be sent to a sequence of multiple users. Each user has a different set of fields to fill out. I am attempting to hide later users fields until the form gets to them.  

    My thought on how to do this was to simply show the appropriate fields using the submit button. Is there a way to take an action when the user clicks the submit button?

    Alternatively is there a better way to solve my problem?


  • Profile Image
    JotForm Support

    Answered by Charlie on June 06, 2017 at 04:18 AM

    I am not sure how exactly you are doing the multi user approach, I presume it is somewhat like a multi step process. Below are some guides to give you an idea on how you can do this.

    1. First, you can use Conditional Logic to hide sections of your form based on some user input. Here's a guide about that: https://www.jotform.com/help/57-Smart-Forms-Using-Conditional-Logic

    2. After that, you need to setup email alerts that will be sent to your users, here's a general guide about it: https://www.jotform.com/help/30-Explanation-of-Email-Notification-and-Autoresponder-Settings

    3. You need to specify in the email content the "edit link" of the submission. Example:

    User 1 receives email with edit link, he/she clicks the edit link and fill out the section he/she needs to, then resubmit the form.

    User 2 receives email with edit link, he/she clicks the edit link and fill out the section he/she needs to, then resubmit the form.

    User 3 receives email.... and so on.


    4. How to you send email alerts to specific address based on a user input? Here's a guide that you can refer to: https://www.jotform.com/help/167-How-to-Send-Email-Based-on-User-s-Answer. Please note that if you tie an email alert to a conditional logic, then that email alert will only trigger IF the conditions are met. 

    5. There's also a specific guide on how you can build a form with a approval process flow, here's a link to it: https://www.jotform.com/help/432-A-General-Approach-on-Building-an-Approval-Process-Workflow. It discusses what I have listed above. 

    I hope that helps.