Thank You Pop-up

  • Profile Image
    punkin
    Asked on May 19, 2011 at 02:33 PM

    Hello! :)

    I have been having a fun time using JotForm to setup a contact form on our new website design. I was able to style things and really tweak them to be the way I wanted, but I am having issues with creating a pop-up window for the "Thank You" message.

    Once you hit "Send", instead of going to a new page with the thank you message, I want the message to be contained in a pop-up windown that will overlay the current page with the form on it. I am currenty trying to use some simple javascript to get this going, but it doesn't seem to be working. I even tried creating my own thankyou.php page on my server and have the pop-up code point to this, but I still haven't been able to get it working. I feel like I'm just missing something...not sure what. Any help would be appreciated. The form I'm referring to is in the footer on the left. Thanks!

  • Profile Image
    NeilVicente
    Answered on May 20, 2011 at 03:44 AM

    Hi,

    I admire how you're taking things to the next level with Jotform.  The problem though, lies with how the form processes the submission.  As you can see with the source code:

    the form's destination url is set https://www.jotform.com/submit.php

    Even if you can insert some javascript into a custom thank you message configured in Jotform, the form will still have to pass through submit.php before getting to that page.

    Therefore I believe that what you're asking for is not possible without drastically modifying your form's source code and incorporating custom ajax scripts.

    Hope this post answers your question. Thank you for using Jotform.

     

    Neil

  • Profile Image
    یبیب 
    Answered on August 20, 2016 at 01:42 AM

    یبیب

  • Profile Image
    Irshad
    Answered on August 20, 2016 at 02:45 AM

    I would suggest you to create a new thread for your query. And please explain your query in more detail.