Open on CrossBrowserTesting . Direct Code Links: .html .css .stylus .js .coffeescript.Click the timestamp and save your Pen to save the new version. Opt / Block Comment. Also see: Tab Triggers.
Paste this code under the form in your HTML. Im using two submit buttons, one for page open in new tab (preview) and another for ordinary form submission (publish). My issues are I would like to have a button that redirects to a given URL and opens in a new tab.Code Snippets » HTML » Form Submission Opens New Tab/Window. because I didnt want to use a regular submit button, as I would have had to create new styles Write the below code in On- success of that form in Creator. openUrl("Script:page.close"," New Window")I would like to have the "Submit" button on the Zoho Creator form to close the Zoho Creator tab, therefore leaving the Zoho CRM tab open. To close a tab, you have to tap the tabs icon at the top right. This takes you to a multi-tasking view where you can open a new tab, and view all your current tabs. Here, each open tab is represented as a small window with a close button. I have a [submit] and a [preview] button, I want the preview to show the print view of the submitted form data, without persisting it to database. Therefore I want [preview] to open in a new tab, and submit to submit the data in the same window/tab. Ive added a redirect URL to my form submit button and thats working fine except Id like it to open in a new tab. Im sure this is probably really simple I just dont know how to do it. / Anyone help a n00b? How can i open this link in new tab after click on submit buton.Sign in to post your reply or Sign up for a free account. Similar topics. how to update one form id when i click submit button on another html page.