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

    Link in thank you page opens new page even it is not set to?

    Asked by ozgurerdogan on March 10, 2015 at 12:26 PM

    I manually added a link in to thank you page but it opens in new window even I set it to open same page. Can I stop that and open in same windows? Or this is because form is in iframe.

    link in thank you thank in new window same page same and
  • Profile Image
    JotForm Support

    Answered by Charlie on March 10, 2015 at 01:56 PM

    Hi,

    You can try editing that action in the hyperlink option in your "Thank You" message option.

    That should open the link to the same window where the form is. Although, I see that you are using a script in the hyperlink rather than a direct link? I would recommend that you use a direct link instead. 

    Kind regards.

  • Profile Image

    Answered by ozgurerdogan on March 10, 2015 at 02:51 PM

    You solution still forced link open in new tab. So my javascript could make it work as I wanted. Thanks.

  • Profile Image
    JotForm Support

    Answered by Charlie on March 10, 2015 at 04:24 PM

    Hi,

    May I know how your process flow works? Is it like this:

    1. Form is embedded on website.

    2. If user fills out the form and click the link to the thank you message then he'll be transferred to this page: http://yesilbeyaz.web.tr/4hc/guncel/Fiyat-Hesaplama.asp?url=? Is that correct?

    May I know what is the function of your javascript? If you are looking for a redirection, you can try adding the link directly and adding an attribute "target=_self" to force the redirection to the same page.

     

    Or you could also change the value of your Javascript from:

    javascript:q=(document.location.href);void(open('http://yesilbeyaz.web.tr/4hc/guncel/Fiyat-Hesaplama.asp?url='+escape(q),'_parent','resizable,location,menubar,toolbar,scrollbars,status'));

    To:

    javascript:q=(document.location.href);void(open('http://yesilbeyaz.web.tr/4hc/guncel/Fiyat-Hesaplama.asp?url='+escape(q),'_self','resizable,location,menubar,toolbar,scrollbars,status'));

    Let us know if this works.

    Thank you.