[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 135
  • Last Modified:

HTML Form help

how do i make a thankyou page show after someone clicks submit on my form?
0
psxheaven
Asked:
psxheaven
1 Solution
 
xabiCommented:
Hi there:

I'm not sure what you want to do but here I'll try to explain you what you must do.

1.- Yo can make a thank you popup window (the easiest) this way:

Insert this code in your form page (head section)

<script language="javascript">
<!--
function thanks() {
  alert("thank you!")
  document.form_name.submit()
}
//-->
</script>

and change your submit button for this one
<input type="button" Value="Submit" onclick="thanks()">

2.- If you are calling a CGI from your form you must add the necesay code to the CGI to generate your Thank you page

xabi

0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now