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

    Dropping code into a form

    Asked by Sixty6media 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!!

     

    Warren

    Page URL:
    http://www.ethicalbrokerage.com/#/open-an-account/4564010274

  • Profile Image

    Answered by deluca on August 16, 2012 at 11:30 AM

    Hi

    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,

     

    Ben

  • Profile Image

    Answered by javierf 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
    JotForm Support

    Answered by idarktech on August 16, 2012 at 05:56 PM

    @Sixty6media

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

    Thanks.

  • Profile Image

    Answered by Sixty6media 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.

    Sixty6Media

  • Profile Image

    Answered by javierf 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
    JotForm Support

    Answered by Mike_T on August 17, 2012 at 05:45 PM

    @Sixty6media,

    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.