Forum Moderators: open
I was wondering if I use Java script to create a Form that when you hit submit - it emails me?
If you could just point me to a post for help i couldnt find it looking back through posts...
Also is it javascript I use to create a Redirect, that has to be SE friendly ( Google ) I know that people did do things in the past so im not sure what to do...
Any help given and you will be loved! :)
Ta rj
There is a famous script called FormMailer that is available for free download if you do a search on 'Matt Wright FormMailer' you will find it.
This should be placed in your Web servers CGI bin and will handle the redirect for you. Normally the redirect goes to a Thank you page saying that your form was successfully send and so the page is not important to the search engine so the formmailer is not SE friendly.
If you think the redirect page is important then place a hyperlink somewhere on the page for the SE to follow.
Finally many people think that the Matt Wright FormMailer is now insecure - I still use the fixed version but I am not sure if I should be doing, so but it works for me.
If you hunt around I am sure you can find a secure alternative if you think this is a problem. I know some of the security holes have been plugged but there may be others.
In order to link to the CGI script just set the:
<form action="PATH_TO_CGI-Bin/formmailer.pl" method="post">
You should read the installation instructions as you need to set some variables like where to send the email to.
I don't know for certain if JavaScript can do this now but I don't think it can.
If you really can't handle setting up the CGI then you could do:
<form method="post" action="mailto:you@youraddress.com">
and it will open the form details in an email ready to be send. It is horrid but works fine.
Just came across this as well that may help:
[webmasterworld.com...]