Dropping code into a form

  • Profile Image
    Asked on August 16, 2012 at 10:37 AM

    Hi guys,

    The client that I have designed my forms for has asked if this can be done. They have been sent this email by a company that I believe offers software that captures details...


    Brightpearl said that I needed to ask you.   


    On the system where I create the smartform they say to embed this code

    <script src="http://portal.gmt.brightpearl.com/?c=ethicalbrokerage&smartform&~=4R1U8fxpFAGc7NBJv8gYFpKPW2UVBBYaQJKLYZVT2bE,"></script>



    Can this be done? Help!!



  • Profile Image
    Answered on August 16, 2012 at 11:30 AM


    Do you mean adding the source code of JotForm in a form?


    Yes of course, this is what I am doing now.

    Just go to "embed form" then choose the source code, you can even get all the js files with it.


    Hope this helps,



  • Profile Image
    Answered on August 16, 2012 at 02:06 PM

    Hello Sixty6media,

    I do not fully understand your question, if what you want is to add the script to a form, it is possible because it is a JS code that the web browser interprets, it is also possible to send through mail if the mail manager allows HTML interpretation (sometimes this gets blocked for security). If you want to send mails from the form thats is more complicated. Please explain yourself with more detail so i can be of more help.

  • Profile Image
    Answered on August 16, 2012 at 05:56 PM


    As explained by Javier, please give us more details on what you are trying to achieved here so that we can further assist you.


  • Profile Image
    Answered on August 17, 2012 at 01:29 PM

    Thanks guys,

    The company called Brightpearl apparently collect data (address details etc) and create databases.

    They have asked if they can embed this bit of code into a form enabling the data to be collected 'in the background' while the jotform works normally.

    That's all I have I am afraid. It's not actually for me its for a client.


  • Profile Image
    Answered on August 17, 2012 at 03:29 PM

    Hello Sixty6Media,

    Of course it is possible you can run your script and it will work as before you just have to adjust the names in the fields but while they are being filled you can manage that information as you want.

    I will be here for any other question you have.

  • Profile Image
    Answered on August 17, 2012 at 05:45 PM


    This is not possible to inject Javascript via form builder, but as mentioned Ben, you can get your form source code:

    Inject your Javascript code, and then just embed adjusted form source code to your website.

    If you need any further assistance, please let us know.