How to edit _target of thank you message?

  • Profile Image
    timho
    Asked on July 25, 2011 at 12:37 AM

    Hi,

     

    I've created a form that lives under Facebook tab, I've set the thank you page as a customized URL.

    After a user submitted a form, it takes the user off Facebook into a _blank target.

    Is there any way I can adjust it so that it can stay under the Facebook tab? Should be changed to target _parent I think.

     

    Thanks!

  • Profile Image
    brx250
    Answered on July 25, 2011 at 01:30 AM

    Hi timho,

    First of all, thank you for using JotForm.

    Yes you can edit the target attribute from "_blank" value to "_self" / "_parent" value. You can find this attribute from the

    tag. You may also find these links helpful.

     

    http://www.jotform.com/answers/15186-Custom-thank-you-page-in-iframe

    http://www.jotform.com/answers/18098-Thank-you-page-and-navigation-away-from-FB-page

    If you have further questions, please feel free to contact us. 

    _____________________________________________
    Albert | JotForm Support

     

  • Profile Image
    Answered on July 25, 2011 at 10:01 PM

    Thanks for the reply.

    However, I do not find the target attribute under <form>. I've added _self to the tag but it still takes it off the page (instead of loading inside the same frame). Code is as below:

    <form class="jotform-form" action="http://www.jotform.com/submit.php" method="post" name="form_12044748143" id="12044748143" accept-charset="utf-8">

  • Profile Image
    allanftd
    Answered on July 25, 2011 at 10:41 PM

    Hi timho,

    To help us further investigate, may we ask for the Facebook page where you've embedded your form? Also, if you haven't tried it yet, you can manually insert the target attribute to the <iframe> tag so that it becomes something like this:

    <form class="jotform-form" action="http://www.jotform.com/submit.php" method="post" name="form_12044748143" id="12044748143" accept-charset="utf-8" >

    Let us know how it works for you.

    JOTFORM SUPPORT

  • Profile Image
    allanftd
    Answered on July 25, 2011 at 10:45 PM

     

    Hi timho,

    To help us further investigate, may we ask for the Facebook page where you've embedded your form? Also, if you haven't tried it yet, you can manually insert the target attribute to the <iframe> tag so that it becomes something like this:

    <form class="jotform-form" action="http://www.jotform.com/submit.php" method="post" name="form_12044748143" id="12044748143" accept-charset="utf-8"  >

    Let us know how it works for you.

    JOTFORM SUPPORT

     

  • Profile Image
    timho
    Answered on July 25, 2011 at 10:56 PM

    Thanks!

    The code didn't show up right on this forum.

    I actually put inside that form tag.

    For some reason, I can't tell what you are trying to show on the code you sent.

  • Profile Image
    timho
    Answered on July 25, 2011 at 10:57 PM

    Didn't show up again, I put > target/= " _/self" (take off a/)

  • Profile Image
    allanftd
    Answered on July 25, 2011 at 11:35 PM

    Hi Tim,

    Sorry about that. Here's what I'm trying to show you:

    If you haven't done it yet please try and let us know how it goes.

    JOTFORM SUPPORT

  • Profile Image
    Answered on July 26, 2011 at 01:36 AM

    Thanks for the screencap.

    I used it and still doesn't work.

    Here's the direct URL for the tab.

    http://www.facebook.com/pages/Tim-Ho-Test-Page/352620429947?sk=app_105366796227663

     

    Thanks!

  • Profile Image
    brx250
    Answered on July 26, 2011 at 01:49 AM

    Hi there,

    Have you tried this script in your thank you page? 


    // --> 

    Under the "Setup & Embed" tab, select the "Thank you message" , click "HTML" and insert the said script. Please do let us know if this helps. Thank you.

    _____________________________________________
    Albert JotForm Support