View Full Version : basics I can't seem to get

07-11-2008, 06:27 AM
i have a basic form that i want a pop box to come up saying thank you you request has been submited. how do i get that into this?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>email addresses for specials</title>

<form action="gdform.asp" method="post">
<p align="center">
<input type="hidden" name="subject" value="email address for specials">
<input type="hidden" name="redirect" value="INDEX.HTM">
<p align="center">
<input type= "hidden" name= "text" value="please sent me emails of the specials">
<input type="text" name="email">
<p align="center">
<input type="submit" name="Submit" value="SUBMIT" />
<input type="reset" name="reset" value="RESET" />

07-11-2008, 06:30 AM
<script type="text/javascript">
{alert('Thank you. Your request has been submitted');}}

07-11-2008, 06:36 AM
do i put that before the action or in the middle of it?

07-11-2008, 06:46 AM
You can put it in the <head> or <body> section of your page. Ideal is in the <head>.

07-13-2008, 05:43 AM
Is that going to stop my form from redirecting to my home page or will it do both

07-13-2008, 04:48 PM
It will show a message saying "Thank You. Your request has been submitted", then submits your form. Nothing more, nothing less.