Some strange behaviours with "thank you"

  • Profile Image
    Asked on September 21, 2012 at 10:57 AM

    Hi fellow jot-maniacs

    generally speaking, JF has been behaving as I expect it to, reliably, unless I do something stupid.

    Just spotted a couple of strange behaviours which never used to happen before:


    I had some problems getting "CONDITIONS" to work correctly, specifically SHOW-ing a specific field upon a drop-down field containing a specific entry.

    Always worked fine for me in many of my previous forms, but not today.

    Managed to get it working in the end by:

    - making the name of the field on which the condition is set much shorter & simpler

    - ensuring the options text in the drop-down field selections had different values within the first 10 characters

    ie, used to be:

    RYA FIRST AID 21 October

    RYA FIRST AID 24 November

    -changed to-

    21 Oct - RYA FIRST AID

    24 Nov- RYA FIRST AID

    It seems it could not diferentiate between the values in the options if they appeared the same in the first (say) 10 characters.

    THANK YOU problem?

    I have a variety of forms embedded in the pages of our club website.

    Example is

    The form can be found here:

    When hitting the "submit" button, it used to open a new browser tab or window to display the customised thank you message.

    But today, it displays the thank you within the embedded page, with the result that it is not displayed correctly.

    Am I imagining this, or has something changed ?






  • Profile Image
    Answered on September 21, 2012 at 11:42 AM


    A customized Thank You message will always be displayed on the iFrame that contains a form. This behavior is different to what happens when you set a Custom URL as the form's thank you page.

    The image below pretty much explains it:

    Let me know if you need more information. Thanks!

  • Profile Image
    Answered on September 21, 2012 at 11:59 AM

    Thanks for the quick reply, but I'm pretty sure that  in the past when I used the bottom option ("Thank you message") it would present my Thank You in a NEW tab or browser window rather than in the same one from which the form was submitted.

    ...or has that never been the case?


  • Profile Image
    Answered on September 21, 2012 at 12:07 PM

    That has never been the case, if you're using Embed <> or iFrame embed codes. I think you might have embedded the form using full source codes, though.

    When a form is embedded using full source, it essentially becomes a part of your webpage, which means calling the Thank You message (hosted on JotForm) will have it take over the page.

  • Profile Image
    Answered on September 21, 2012 at 12:23 PM

    I have never embedded the full source into our webpages, seems like too much effort to me!

    Ok, I'll put the question differently:

    Is it possible that the "Thank You" message can be made to display in a new tab or browser window without having to specify a custom URL?

    I'm not a whizz at HTML but I believe there is something called target="_blank" which can specify that something opens in a new tab ?

    When I select the "Thank you Message" option (my usual choice), I notice that it is possible to edit the HTML code via the editor.

    Could this work in the HTML of the Thank You message page to cause it to display it in a new tab ?

    If so, where would I insert or use this ?





  • Profile Image
    Answered on September 21, 2012 at 12:32 PM

    That would have been possible if only we allow custom JavaScript to be used in Thank You pages that are hosted in our server. Unfortunately, that isn't the case - we do not allow JavaScript to be used in our Thank You pages for security reasons.

    By the way, the HTML attribute works only for links, which the user will have to click on. It does NOT open a new window automatically.