Select
Views/Home Right Click for a New RHTML
document.
Use the
RHTML code from chapter 2 but with a different
opening
form tag. The data will be arriving with names on the form.
This form
(the_form.rhtml) is submitted to result.
<!--
Popcorn.html
     Popcorn sales form
document
-->
<html
xmlns="http://www.w3.org/1999/xhtml">
   <head>
     <title>Popcorn
Sales Form</title>
   </head>
   <body>
   <h2>Welcome to popcorn
sales</h2>
   <form action = "result"
method = "post">
      
<table>
         
<tr>
           
<td>Buyer's Name:</td>
           
<td>
             
<input type="text" name="name" size
="30" />
           
</td>
         
</tr>