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

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

    Asked by michael 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.

    Page URL:
    http://rockviewlodge.com/beta

    Screenshot
  • Profile Image
    JotForm Support

    Answered by NeilVicente 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

    Answered by rockviewlodge 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

    Answered by jeanettebmz 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