Question:
how to make the submit button a link?
Natsta
2009-05-14 18:35:32 UTC
im in a computer class and i'm making a inspection form and i was wondering how to make the submit button a link to then say on another web page...thank you for you form etc.
Five answers:
anonymous
2009-05-14 18:47:43 UTC
If it is a form that you've made, the form processor page will be the one to send submitter to another page. That part will be in the action="" attribute for the form tag. Then you will have the form processor coded to sent you to, say, a Thank You page. See the following free online form makers and look at the code they generate.



These are really good online form makers. Just follow the instructions for making it and uploading file(s).



http://www.tele-pro.co.uk/scripts/contact_form/

http://jotform.com/

http://www.thesitewizard.com/

http://www.thepcmanwebsite.com/form_mail.shtml

http://emailmeform.com/



Warning, your current hosting package must allow SMTP ( http://en.wikipedia.org/wiki/Simple_Mail_Transfer_Protocol ) to work. Otherwise, no email can be sent.



Ron
anonymous
2009-05-15 01:40:20 UTC
Make the action of the form the URL of the page you want to link to.
?
2009-05-15 06:48:04 UTC
The form you prepare cannot use an html "receiver": it must be a server-side script that receives the for and do something.

The "link" is the "action" in your form tag.

Here is an example:



HTML FORM to EMAIL (Php)



Your index.html file:













Your name:

Your password:

Your email:

... ADD HERE THE REST OF THE FORM ...









(replace by their correct form - stupid editor!)

Your emailfwd.php file:












$name = $_POST['name'];

$pwd = $_POST['pwd'];

$email = $_POST['email'];

... ADD HERE THE COLLECTION OF THE FORM DATA

$to = "youremail@whatever.com";

$headers = "From: ".$email. "\r\n";

$subject = "Submitted application";

$msg = $name . " has sumitted a form!\r\n";

$msg .= "Pwd: " . $pwd . "\r\n";

$msg .= "email address: " . $email . "\r\n";

... ADD HERE THE REST OF THE DATA

mail($to, $subject, $msg, $headers);

echo ("Mail processed.");

?>



anonymous
2009-05-15 01:45:36 UTC
anonymous
2013-12-14 23:17:56 UTC
this blog have useful tutorial and tips you should see it

http://www.howtomakeawebsites2.com


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...