Question about target=_parent and HTML editor

  • Profile Image
    redhotdesign
    Asked 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.

  • Profile Image
    Goldo
    Answered 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
    redhotdesign
    Answered 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
    jcm0731
    Answered 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
    redhotdesign
    Answered 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
    jcm0731
    Answered 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
    redhotdesign
    Answered 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
    jcm0731
    Answered on March 07, 2012 at 07:37 AM

    redhotdesign, we are always glad to be of help.

    Cheers!