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

    JotForm builder injecting unwanted target attribute

    Asked by fbrommecker on January 24, 2017 at 10:22 AM

    Hi --I see from this thread:  https://www.jotform.com/answers/324931-Target-open-link-in-same-window-cannot-save-TEXT-field   that the issue still remains!  I can do any number of tricks to remove the attribute, but whenever I save my form, it REAPPEARS like magic.  I really need the link to open in the SAME page, so if you have any advice that works, I would appreciate it.  If necessary, could I use some javascript in the text element to remove the attribute?

  • Profile Image
    JotForm Support

    Answered by John_Benson on January 24, 2017 at 12:32 PM

    Unfortunately, it is currently not possible to open the link on the same page through the Text field. The "target=_self" will be ignored automatically. As you can see, the options available in the Text field when inserting a link are "None" and "New Window" only.

    You cannot insert Javascript in the forms using our Form Builder. If you want, you may download to form's full source code and create a custom script that will achieve that function. Here's a guide: https://www.jotform.com/help/104-How-to-get-the-Full-Source-Code-of-your-Form.

    Hope that helps. Thank you.