Redirect to a page on a separate tab

  • kar0898
    Asked on August 18, 2020 at 7:40 AM

    Is there a way to open the Redirected URL in a new page after submission?

  • Elton Support Team Lead
    Replied on August 18, 2020 at 9:33 AM

    I'm afraid this isn't possible on the standalone alone, it will always load on the same window. However, this can be achieved when you embed your form using its full source code. In the source code, you can add target = "_blank" attribute in the form tag. Here's a reference https://www.geeksforgeeks.org/html-form-target-attribute/

    Example: 

    Find this in the form source code <form then add this target = "_blank" after it.

    Example:

    <form target = "_blank"

    If you need further assistance, let us know.

     

  • kar0898
    Replied on August 18, 2020 at 9:37 AM

    Thank you. At this time, the form cannot be embedded due to the function needed. I appreciate the response.

  • Elton Support Team Lead
    Replied on August 18, 2020 at 10:55 AM

    I just realized that this can be achieved by redirecting your thank you page to an HTML page containing a javascript that automatically opens a link into a new tab on page load but the downside is that most browser's popup blocker may prevent the link from automatically opening into the new tab.

    Example code on the HTML page to open a new tab on page load.

    <!DOCTYPE html>

    <html>

    <head>

    <title></title>

    </head>

    <body onDISABLEDload="window.open('YOUR URL HERE', '_blank');">

    </body>

    </html>