Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I get a confirm page after submitting a form

Status
Not open for further replies.

kiwi2000

Technical User
Sep 22, 2000
6
0
0
NZ
I want to get a confirm message after sending a form from a page.. [sig][/sig]
 
Check recent Macromedia DW discussion group, they give a much better explanation than I could here. [sig][/sig]
 
See use change the submit buttion onto button

then use this

Code:
<script language=&quot;javascript&quot;>

 function submitform() {
    //also replace the formname with the name of the form that u have 
    alert(&quot;page was submited&quot;) 
    document.formname.method = &quot;&quot; //should be post or get 
    //depending on what u require
    document.formname.action = &quot;&quot; //the page u want the form to go to
    document.formname.submit()

   }
 
 </script>

at the button use the onClick=&quot;submitform()&quot;

hope fully it will help
regards :) [sig]<p>Unicorn11<br><a href=mailto:abhishek@tripmedia.com>abhishek@tripmedia.com</a><br><a href= > </a><br>ENJOY !!!!!!!!!![/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top