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

    Question about target=_parent and HTML editor

    Asked by redhotdesign on March 07, 2012 at 06:28 AM

    Hi Guys.

    Thanks in advance for your help on this:

    I would like to add target=_parent to an HTML link within a modal window (actually, feedback form window) but the only two options in the visual editor are new window or same window-

    using the HTML editor, I change it manually (including "") and it gets stripped?

     

    Please help, I really don't want to embed (hardcode) everytime I need to change something? This is the solution so far, I think- putting the full embed source code in my page, but I'd have to redo on every page each time when there are changes?

     

    Please help, thanks for a great service!! And good support.

    Norm

     

    UPDATE: I can't use the full embed source method anyhow, as it is a feedback form- i just tried it. Please help.

    Page URL:
    n/a

  • Profile Image
    JotForm Support

    Answered by Goldo on March 07, 2012 at 06:47 AM

    If you are using the 'Embed' option there's no need to update the code every time you change something on the form.

    Please visit: http://www.jotform.com/help/67-So-Which-Form-Embed-Code-Should-I-Use  - you might find that useful.

    Let us know.

  • Profile Image

    Answered by redhotdesign on March 07, 2012 at 06:53 AM

    Thanks for your response--- does that give me the 'feedback style' button?

     

    I have feedback style forms, with outbound HTML links that need to target  "_parent".

    How can I achieve that?

     

    Thx again.

  • Profile Image

    Answered by jcm0731 on March 07, 2012 at 07:01 AM

    hi redhotdesign,

    Before I can proceed to help you, I would like to ask first what exactly the behavior we want the form to do here.
    By "_parent" are you meaning to say that you wanted those HTML links in your form, when click to OPEN within the FORM also?
    Because right now, the form you created with HTML links will just open a new TAB/WINDOW everytime you click on it.

  • Profile Image

    Answered by redhotdesign on March 07, 2012 at 07:07 AM

    Hi JCM.

    Precisely. I want the links to open in "_parent", not blank or self.

     

    Those are the only two options that don't get stripped out when using the HTML snippet tool within Jotform.

     

    I need _parent as the target for those links- ie. the new link opens in the window that called the feedback form.

     

    I hope this is easy enough to understand?

     

    Thanks again, I really need a solution- thanks guys.

  • Profile Image

    Answered by jcm0731 on March 07, 2012 at 07:18 AM

    Redhotdesign, now I understand. Thank you.
    What we are looking for here is a kind of an HTML wrapper, wherein it will hold the external link within the "_parent". 
    JotForms have the Free Text (HTML) tool which does kind of a similar thing for a wrapper. But mostly the Free Text(HTML) is used for embed source (i.e. javascript, iframe).

    did you happen to try using it already in your form?

    in any case I will try it myself, I will check if I can pull it off using the Free Text (HTML) to open the outbound link with the form.

  • Profile Image

    Answered by redhotdesign on March 07, 2012 at 07:29 AM

    JCM i seem to have it sorted.

     

    Thanks a lot for your responses though, appreciate it.

     

    I was forgetting to click "complete" at top right before saving the form. It also kicked up more than one 'editor window' I was saving the wrong 1 I think.

     

    Thanks guys.

  • Profile Image

    Answered by jcm0731 on March 07, 2012 at 07:37 AM

    redhotdesign, we are always glad to be of help.

    Cheers!