Can I embed my JotForm in an ASP.NET MVC view?

  • Profile Image
    Avrohom Yisroel Silver 
    Asked on November 13, 2014 at 10:53 AM


    I've just come across jotform, and it looks just what I want, but I need to check some details with you.

    We're building a web site for a charity, and they want to allow people to apply for an account online. They need people to sign the form, which is where jotform comes in.

    At the moment, when someone submits the form, the details are saved in a database. We want to be able to have the signature submitted along with the rest of the form details, so it can be saved as well, presumably as a jpg, png, etc.

    Can jotform do this? As far as I can see, you need to create the whole form in jotform, which is not going to work for us. We have built the site with ASP.NET MVC, and are using the form features in that. We can't change this now.

    Can we add a jotform widget to our own form to capture the signature?

    Please clarify what we should do.


    Avrohom Yisroel

  • Profile Image
    Answered on November 13, 2014 at 11:27 AM

    Hello Avrohom,

    You can use the full source code of your form to achieve this.
    In your scenario, you create the complete form using JotForm then you retrieve the full source code and paste it in your MVC view.

    The full source code will provide all necessary scripts to make the form run the same way in your website, however you need to consider a few things:

    1. Since you'll be capturing the submitted data in your own database then you'll need to adjust the POST method of the form to send the data to your database instead of our system.

    2. Every change you made in terms of design using JotForm will not be automatically rendered in your view, which means that you'll need to copy/paste the last version of your form in your view manually.

    Please give it a try and if you need further assistance let us know.
    Best Regards.

  • Profile Image
    Avrohom Yisroel Silver 
    Answered on November 13, 2014 at 12:22 PM

    Hello, thanks for the reply.

    I copied the files and created a form that had nothing but a smooth signature widget. I changed the form method to point back to our local web site, and tried it out. I have two more questions...

    1) If I don't sign the form, then I see a very brief red warning, but the form is submitted anyway. How do I prevent the form from being submitted if they haven't signed?

    2) What format is the signature data? I saw a form field named "q1_clickTo1" come in, with a lot of data, but how do I use it? I would like to save this locally as an image.

    Thanks again.

  • Profile Image
    Answered on November 13, 2014 at 12:59 PM


    I have moved your other questions to a separate thread to avoid confusions. We will follow up these threads soon.


  • Profile Image
    Avrohom Yisroel Silver 
    Answered on November 13, 2014 at 01:07 PM