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

    Text Tool: Hyperlink target keeps changing to "blank"

    Asked by applink on April 19, 2017 at 12:00 PM

    Hi guys

    I'm having a problem with hyperlinks.

    I've created a form to replace the thank you page because I want it to receive the main form data for Google Analytics.

    As this form will be accessed by mobile, I wanted to have a way to close the Thank You Page via a link or button.

    So I created a link with the address for the page you created to automatically close.

    https://shots.jotform.com/carina/exp_html/close_window.html

    But the link I created should be opened in the same window so that this page of you could be the trigger to close the window.

    The problem is that it always opens in another window. No matter what I do, it stays the same and I can not solve it.

    Could you help me with this problem? Below is the html code of the page and the address of the form.

    Best regards

    Leonardo Azevedo

     

    <p style="text-align: center;">&nbsp;&nbsp;<img src="https://s20.postimg.org/v0uux0cn1/Logo_Husse_128_x_120.png" alt="" width="128" height="128" /></p>

    <div style="text-align: center;">

    <h1><span style="font-family: arial, helvetica, sans-serif; color: #ffffff; font-size: 12pt;">Obrigado por sua&nbsp;encomenda!</span></h1>

    <p><span style="font-family: arial, helvetica, sans-serif; color: #ffffff; font-size: 12pt;">Em caso de d&uacute;vidas fale connosco!</span></p>

    <p><span style="font-family: arial, helvetica, sans-serif; color: #ffffff; font-size: 12pt;">e-mail: montijo@husse.pt</span></p>

    <p><span style="font-family: arial, helvetica, sans-serif; color: #ffffff; font-size: 12pt;">Telem&oacute;vel: 925 385 189</span></p>

    <p><span style="font-size: 20px;"><span style="font-family: arial,helvetica,sans-serif;"><a title="FECHAR" target="_blank" href="https://shots.jotform.com/carina/exp_html/close_window.html" rel="nofollow noopener" ><span style="color: #ffffff;">FECHAR</span></a></span></span></p>

    </div>

    <p>&nbsp;</p>

    Page URL:
    https://form.jotformeu.com/applink/montijo-obr

  • Profile Image
    JotForm Support

    Answered by EltonCris on April 19, 2017 at 01:28 PM

    Thanks for reporting. I was able to reproduce this problem.

    The target _self in the HTML code keeps changing to target _blank which is the reason why links open in the new window. While I am not quite sure why it worked this way, I have raised this problem to our developers so they can further investigate and provide their insights. We'll let you know once we have any update.

  • Profile Image

    Answered by applink on April 22, 2017 at 12:48 PM

    Hi Elton!

    Do you have some update about this problem?

    Regards

    Leonardo

  • Profile Image
    JotForm Support

    Answered by Jim_R on April 22, 2017 at 12:59 PM

    Hello Leonardo - Sadly we don't have any updates yet. Any updates coming from our end (whether straight from our Developers or from us, the Support Team), will be posted right here which would send you an email.

    We can't give you any timeframe but we'll keep you apprised on this same thread when there's an update.