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

    Where to grab the code to past in my website?

    Asked by jyackley on June 15, 2010 at 10:45 AM
    Hello, did I make a mistake?  I grabbed the whole source code for the form (several dozen lines) instead of what looks like one line of code that you receive when you hit the SOURCE CODE button above the form I created...
    <script src="//www.jotform.com/jsform/1602956508"></script>

    Did I do it wrong?  It looks fine on my webpage. 

    Also, having a hard time figuring out how to redirect someone who hits SUBMIT back to the site's homepage.


    John Yackley 
  • Profile Image
    JotForm Founder

    Answered by aytekin on June 15, 2010 at 10:51 AM
    Yes, that's the only code you need. Full Source Code is easier to mess so we recommend using that one line javascript code to show your form on your site. Full Source Code is still available on the Advanced Options in case you would like to customize your form further.

    You can change the Thank You URL after user submission from the "Thank You" button near the source code button.