• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Redirecting website when using CGI

Daeymion

Member
Upon submitting a form using CGI, I want the ability to open a URL that is not associated with the page that is receiving the form. For example:

action="open.this.URL.to.post.data.to.html"

causes the page displayed to be:

thanks.so.very.much.html

but I don't want to make any changes to the cgi script itself (i don't have the access to make the changes)

any suggestions?
 
You could achieve it in this manner:

When the form submit button is clicked you could use JavaScript to open a pop-behind window that opens with the CGI page to receive the results, while at the same sending the user to the thank you page in their main browser window.

The pop-behind window spawned by the JS should be set to automatically close as soon as the CGI script has loaded and parsed all the form data.

I can help you code this if you need it 🙂 Hope that helps.

teknodude
 
Back
Top