THANK YOU when using the source code version goes to new page

  • Profile Image
    michael
    Asked on June 07, 2012 at 05:45 PM

    Using the iFrame and basic <script> embedding puts my Thank You message exactly where I want it. But when I use the EMBED SOURCE option (which stylizes my form according to my site's CSS), clicking the SUBMIT button takes me to a new, white page with just the text of my thank you. What's going wrong?

     

    This is a wordpress site and I'm dropping the jotform in to an "arbitrary text" sidebar widget.

  • Profile Image
    NeilVicente
    Answered on June 07, 2012 at 06:03 PM

    There is actually nothing wrong with this behavior. When you embed the form to your site using its full source code, it essentially becomes a part of your site. Thus, the thank you page is loaded as a new page.

    Now, compare that to the script and iFrame methods which basically loads the form (html page hosted in our server) in an iFrame container. In a nutshell, the form is loaded as a page within a page. Upon submission, the thank you page is called to replace the actual form inside the iFrame container.

    I think the best solution to your problem is to copy your site's css codes (those that affect the form) and inject it onto the form to apply your site's styling to it.

  • Profile Image
    rockviewlodge
    Answered on June 07, 2012 at 06:47 PM

    That sounds like more work than I wanted (!) but does make sense. I'll give it a try.


    Thanks for the fast response.

  • Profile Image
    jeanettebmz
    Answered on June 07, 2012 at 06:50 PM

    @rockviewlodge

    Additionally to what my colleague has adviced you , please find the guide here  in order to insert custom CSS code into your form

    Cheers!

    Jeanette