| 
	
 | 
 Posted by Adrienne Boswell on 07/06/07 21:15 
Gazing into my crystal ball I observed "Neil Kennedy" 
<n.kennedy927@btinternet.com> writing in 
news:J6adnbCqfMrBDRPbnZ2dnUVZ8s6gnZ2d@bt.com:  
 
Top posting fixed... don't that again 
  
>  
> "Adrienne Boswell" <arbpen@yahoo.com> wrote in message  
> news:Xns9965782789753arbpenyahoocom@69.28.186.121... 
>> Gazing into my crystal ball I observed "Neil Kennedy" 
>> <n.kennedy927@btinternet.com> writing in 
>> news:Zp-dnZCgs-NFFBPbnZ2dnUVZ8t2snZ2d@bt.com: 
>> 
>>> Hi all 
>>> 
>>> Now I have done this before many moons ago, but just cannot, no 
>>> matter how much I tinker, get a form to redirect when sent. 
>>> 
>>> I have the following, set in a multi column / multi row table:- 
>>> 
>>><form method="post" action="mailto:email address (removed)> 
>> 
>> That in itself is fraught with danger - the biggest one being the 
>> user has to have an email client to send the form data. 
>> 
>>> 
>>> and at the bottom I have 
>>><input type="submit" name="submit" value="Send"> 
>>><input type="hidden" name="redirect" value="redirectfile.html"> 
>> 
>> Okay, so your action is mailto - mailto does not know anything about 
>> redirection.  Server side scripts know how to redirect. 
>> 
>>><input type="reset" value="Reset"> 
>> 
>> Personally, I find those useless if not annoying. 
>> 
>>> 
>>> Any idea which bit I may have missed to prevent the form from snding 
>>> to my email (which it does) and then redirecting to another page 
>>> (which it doesn't!). 
>> 
>> Yes, you need a server side form handling script, eg: 
>> <form method="post" action="myformhandinglingscript.asp"> 
>> 
>> If you are writing the script, you probably don't need to use the 
>> redirect hidden input element.  This that I've seen in third party 
>> form processing scripts, like http://www.response-o-matic.com/ . 
>> 
>> HTH 
>> 
> Ta for the reply. 
>  
> I am hoping to avoid using scripting, purely and simply because I 
> haven't got a clue what I am doing with it! I did set up a simple form 
> on a (very) simple page years ago, which didn't use any scripting, and 
> was hoping to head off down that path again. Is there any way round 
> this?  
 
You probably used a third party application, maybe even Response-o-Matic,  
as noted above.  Plain HTML has no way of doing what you need to do, nor  
do email clients. 
 
>  
> With regards to the users having mail clients - the form is on a site 
> that is going to be used by specific people, and I know they all have 
> mail clients. 
 
And if that person is at a library, Internet cafe, someone else's  
computer?  Doesn't want the email application to pop-up, or doesn't  
understand what's going on?  Beleive me, this is not a good thing to do. 
 
 
> As for the Reset button - trust me, it'll be needed :) 
 
One of the terrible things about reset buttons is they reset EVERYTHING.   
Nothing more annoying than filling out a form, hitting the reset button  
by accident, and having to fill the darned thing in all over again. 
 
 
--  
Adrienne Boswell at Home 
Arbpen Web Site Design Services 
http://www.cavalcade-of-coding.info 
Please respond to the group so others can share
 
[Back to original message] 
 |