| 1 |
<html> |
| 2 |
<head> |
| 3 |
<title>CGI::Application::Mailform Example</title> |
| 4 |
<meta name="description" content="CGI::Application::Mailform - A simple HTML form to email system. CGI::Application::Mailform is a subclass of CGI::Application. CGI::Application and CGI::Application::Mailform are Perl modules written by Jesse Erlbaum and are available at http://www.cpan.org/authors/id/J/JE/JERLBAUM/"> |
| 5 |
<meta name="keywords" content="CGI Application Mailform Example Email Mail Form CGI::Application Usage Example CGI::Application::Mailform Usage Example Jesse Erlbaum Vanguard Media Perl CPAN"> |
| 6 |
</head> |
| 7 |
<body> |
| 8 |
<h1>CGI::Application::Mailform Example</h1> |
| 9 |
|
| 10 |
<h3>A simple HTML form to email system.</h3> |
| 11 |
|
| 12 |
<p>CGI::Application::Mailform is a subclass of CGI::Application. CGI::Application and |
| 13 |
CGI::Application::Mailform are Perl modules written by Jesse Erlbaum and |
| 14 |
are available at <a href="http://www.cpan.org/authors/id/J/JE/JERLBAUM/">http://www.cpan.org/authors/id/J/JE/JERLBAUM/</a></p> |
| 15 |
|
| 16 |
|
| 17 |
<form action="mailform.cgi" method="POST"> |
| 18 |
|
| 19 |
|
| 20 |
<input type="hidden" name="rm" value="submitform"> |
| 21 |
|
| 22 |
<table border="1" cellspacing="0" cellpadding="5"> |
| 23 |
<tr> |
| 24 |
<td align="right" valign="top">Name:</td> |
| 25 |
<td><input type="textfield" name="name" size="40"></td> |
| 26 |
</tr> |
| 27 |
|
| 28 |
<tr> |
| 29 |
<td align="right" valign="top">Email Address:</td> |
| 30 |
<td><input type="textfield" name="email" size="40"></td> |
| 31 |
</tr> |
| 32 |
|
| 33 |
<tr> |
| 34 |
<td align="right" valign="top">Company:</td> |
| 35 |
<td><input type="textfield" name="company_name" size="40"></td> |
| 36 |
</tr> |
| 37 |
|
| 38 |
<tr> |
| 39 |
<td align="right" valign="top">Postal Address:</td> |
| 40 |
<td><textarea name="postal_address" cols="40" rows="4"></textarea></td> |
| 41 |
</tr> |
| 42 |
|
| 43 |
<tr> |
| 44 |
<td align="right" valign="top">CGI::Application::Mailform is:</td> |
| 45 |
<td><select name="mailform_is"> |
| 46 |
<option value="Pretty Swell">Pretty Swell |
| 47 |
<option value="Earth Shattering">Earth Shattering |
| 48 |
<option value="Mind Blowing">Mind Blowing |
| 49 |
<option value="A Religious Experience">A Religious Experience |
| 50 |
</select></td> |
| 51 |
</tr> |
| 52 |
|
| 53 |
<tr> |
| 54 |
<td align="right" valign="top">Perl is:</td> |
| 55 |
<td> |
| 56 |
<input type="radio" name="perl_is" value="great" checked>Great! |
| 57 |
<input type="radio" name="perl_is" value="superfabulastic">SuperFabulastic! |
| 58 |
</td> |
| 59 |
</tr> |
| 60 |
|
| 61 |
<tr> |
| 62 |
<td align="right" valign="top">Would you like Jesse to sing you Happy Birthday?</td> |
| 63 |
<td><input type="checkbox" name="sing_happy_bday" value="yes" checked>Yes, please!</td> |
| 64 |
</tr> |
| 65 |
|
| 66 |
<tr> |
| 67 |
<td colspan="2" align="center"><input type="submit" name="submit"></td> |
| 68 |
</tr> |
| 69 |
|
| 70 |
</table> |
| 71 |
</form> |
| 72 |
</body> |
| 73 |
</html> |
| 74 |
|