Jump to content

Submission Form to be open a link in new window after submit


Recommended Posts

Hi,

 

I've been creating a simple app in Capsio that is basically just a collection of links.

I want my users to select a link where they want to go, open their selected link in another window, but still remain in the same page after form submission.

 

I am using a submission form DataPage to gather data about the links. The problem is, I can only select either: 'Same Page' or 'Go to Page', but not both.

 

Hoping someone here can help me.

 

Thanks in advance =)

Link to comment
Share on other sites

I almost forgot,

 

Just to add up, for a better user-experience, you may also make use of JavaScript to do this 'programatically'. Meaning, the web browser will take care of opening a new window and reloading the page for your users.

*UPDATE*: You users might be asked to enable pop-ups. They would need to enable that for your site.

 

Just uncheck the enable HTML editor,

paste the given code block,

and replace [@field:link] to correspond with your link field:

<script>
window.open('[@field:link]', '_blank', 'resizable=no,status=no,location=no,toolbar=no,menubar=no,fullscreen=no,scrollbars=no,dependent=no');
location.reload();
</script>

 

Hope this helps.

 

Regards,

DN31337

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...