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

  • fimep_srl
    Asked on August 26, 2014 at 7:33 AM

    URGENT PLZ...

    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.

    Form.html

    Best regards

    Fimep_srl

  • KadeJM
    Replied on August 26, 2014 at 9: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?

  • fimep_srl
    Replied 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

    Fimep_srl

  • KadeJM
    Replied 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.

  • KadeJM
    Replied 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>

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

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

  • fimep_srl
    Replied on August 26, 2014 at 2:08 PM

    Great job... it works :)

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

     

    Fimep_srl

  • Kiran Support Team Lead
    Replied on August 26, 2014 at 5: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.