Opening Payment page in new tab

  • lilysharma
    Asked on August 9, 2015 at 6:22 AM

    I have set up the Paypal button on my form. When someone goes on to submit the form and make payment, it opens the Paypal in the same window. How can I set up the form so that Paypal opens in a new tab/window?

    Kind regards,

    Lily

  • Mike_G JotForm Support
    Replied on August 9, 2015 at 11:02 AM

    This can only be possible if the Form is embedded using its Souce Code. 

    How-to-Download-a-Source-Code-of-your-Form

    Then on this part(see code snippet below), you can try to add target="_blank" 

    <form target="_blank" class="jotform-form" action="https://submit.jotformpro.com/submit/52203810772953/" method="post" name="form_52203810772953" id="52203810772953" accept-charset="utf-8">

    And that should open the PayPal's page after clicking submit from your form.

    Please be advised that we do not recommend such since it may lead to confusion. Submitters might think they have not completely submitted the form when they see a filled form left on a different page after clicking the submit button. 

    I hope this helps. Let us know if you need any further assistance. Thank you.