|  | Posted by Jonathan N. Little on 01/21/07 01:31 
Dave Kelly wrote:> Jonathan N. Little wrote:
 >> How can you have form INPUT elements without a FORM element? Valid are
 >> you sure?
 >>
 >
 > This is all new to me as far as terminology goes. I am not sure what you
 >  mean  but I think this will answer you question. I  tend to take things
 > like this in stages. For now, I am working on how it will look on the
 > screen.
 >
 > For Ben and Dorame..........................
 > I will work on what ya'll suggest and get back. It may be tomorrow or
 > next weekend. I have no deadline on this project.
 >
 
 See:
 http://www.w3.org/TR/html4/interact/forms.html
 
 Inputs such as text boxes, check boxes, radio, submit button... need to
 be in a FORM element to send the data to some script, else they do nothing.
 
 Basic example
 
 <form action="RequiredReceivingScript.cgi" method="post">
 <fieldset> <!-- some block element P or DIV would also do -->
 <legend>Log In</legend>
 <label for="uid">Your User Name:</label>
 <input name="uid" id="uid" type="text" size="10">
 <label for="pwd">Password:</label>
 <input name="pwd" id="pwd" type="password" size="10">
 <input type="submit" value="Log In">
 </fieldset>
 </form>
 
 
 Upon click the submit button the script "RequiredReceivingScript.cgi"
 would receive two name|value pairs for "uid" and "pwd".
 
 
 --
 Take care,
 
 Jonathan
 -------------------
 LITTLE WORKS STUDIO
 http://www.LittleWorksStudio.com
  Navigation: [Reply to this message] |