can i add a script to a form?

  • Profile Image
    infogeniuz
    Asked on May 23, 2011 at 06:37 PM

    I would like to add some javascript to your forms but not having much luck... here is the website with the tutorial... http://cutroni.com/blog/2009/03/18/updated-integrating-google-analytics-with-a-crm/

    i used your form creator... added the hidden fields and just tried to add the scripts to the top of the source after downloaded from jotform... I also added the onsubmit variable. 

    thoughts?

    Lance

     

    here is my form code...

     

     

     

     

     

     

     

     

     

     

     

     

     

       

     

     

     

     

     

     

                   

                        Full Name*

     

     

     

                            First Name

                            Last Name

     

     

     

     

     

     

                   

                        E-mail*

     

     

     

                       

     

     

     

     

     

     

                    Phone Number

     

     

                            -

                            Area Code

                            Phone Number

     

     

     

     

     

     

                   

                        Subject*

     

     

     

                       

     

     

     

     

     

     

                   

                        Message*

     

     

     

                       

     

     

     

     

     

     

                   

                        Enter the message as it's shown*

     

     

     

     

     

                            Captcha - Reload if it's not displayed

     

     

                               

                                Reload

                               

     

     

     

     

     

     

     

     

     

     

     

     

     

     

                           

     

                                Submit Form

     

     

     

     

     

     

     

     

     

                    Should be Empty:

                   

     

     

     

     

     

     

       

       

       

       

       

       

       

       

     

     

     

     

     

  • Profile Image
    NeilVicente
    Answered on May 24, 2011 at 04:53 AM

    Hi,

    It should be possible to add JavaScript if you're using the form's source code. You cannot add a script code inside the Form Buildeer though, it will just get stripped out. This is in order to avoid multiple problems that may result from introducing 3rd-party scripts into the form.

    Hope this post answers your question. Let us know if there's anything else you'd like to ask. Thank you.


    Neil