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

    I added a custom script in forms source code and it is not working.

    Asked by fimep_srl on August 26, 2014 at 07:33 AM


    Hi, I appreciate the great work you made for me for this trouble. I've followed all the steps that Jonathan wrote to me.

    Before I conclude the form and I give the site to the final customer I've the last issue. The html file with the form source code is perfect but the script on http://pastebin.com/T0N6ekqr inside the html file doesn't work. I attach the html file so you can check it.


    Best regards


  • Profile Image

    Answered by KadeJM on August 26, 2014 at 09:46 AM

    So you've tried custom script within your form's source code and it is not working?

    I see this is currently in OneDrive for the time being, but when you tested it was it on a live webpage so that you could check it more accurately?

    Is it the whole custom script that isn't working then? Or what exactly isn't working within it?

  • Profile Image

    Answered by fimep_srl on August 26, 2014 at 10:52 AM

    Hi, the problem is the script code (pastebin) that doesn't work within the source form code.

    When we tried to use into wordpress page it worked... there were other problems (resolved), but script and source code was tested successfully.

    Jonathan suggested to use embed code into a wordpress page with this html file I posted on skydrive.

    Maybe can you verify the whole code into skydrive into local testing, why option value checkbox and relative pastebin code doesn't work?

    Thanks very much


  • Profile Image

    Answered by KadeJM on August 26, 2014 at 11:02 AM

    Thank you for the clarification.

    We will inspect your current provided code to see if we can figure out what is wrong (if anything) and get back to you about it as soon as possible.

  • Profile Image

    Answered by KadeJM on August 26, 2014 at 11:28 AM

    It looks like you are missing an important jquery lib that wasn't really necessary before because it was already included in your Wordpress Page so it got left out.

    However, because you are trying to now reference it elsewhere then it becomes needed again since your form otherwise wouldn't work properly without it.

    Please add the following script to the top of your full form source and then your checkbox problem should go away.

    Missing Lib Script:

    <script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>

    If you have any further issues or problems just let us know and we'll look into it more if need be.

  • Profile Image

    Answered by fimep_srl on August 26, 2014 at 02:08 PM

    Great job... it works :)

    Thanks again for your great support to everyone. Great Staff!!



  • Profile Image
    JotForm Support

    Answered by Kiran on August 26, 2014 at 05:09 PM

    Glad to see that the issue is resolved for you. On behalf of my colleague you are welcome.

    Please get back to us if you have any other questions. We are happy to assist you. 

    Thank you for using JotForm.