Site Tools


webseite:html:form

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
webseite:html:form [2014/05/27 15:36] lunetikkwebseite:html:form [2018/12/20 17:45] (current) – Discussion status changed lunetikk
Line 3: Line 3:
 ===== Basics ===== ===== Basics =====
  
-^Code^What it does^+ Code   Function  ^
 |  %%<form action="File.php" method="post"></form>%%  |  opens a form and closes it  | |  %%<form action="File.php" method="post"></form>%%  |  opens a form and closes it  |
 |  %%<input type="text" name="text" size="20">%%  |  displays a textfield  | |  %%<input type="text" name="text" size="20">%%  |  displays a textfield  |
-|  <code>+|  <code html>
 <select name="status"> <select name="status">
 <option selected value=""></option> <option selected value=""></option>
Line 14: Line 14:
 </select></code>  |  displays a dropdown  | </select></code>  |  displays a dropdown  |
 |  <input required type="password" size="20" name="passwort">  |  hides the input text  | |  <input required type="password" size="20" name="passwort">  |  hides the input text  |
-||  radio buttons + <input type="radio" name="radiobutton" value="selectme">  |  radio buttons 
-||  checkbox  |+ <input type="checkbox" name="chkbox" value="selectme">  |  checkbox  |
 |  <input type="submit" value="Buttontext">  |  submitbutton to send the input to a phpfile  | |  <input type="submit" value="Buttontext">  |  submitbutton to send the input to a phpfile  |
  
 ===== Code example ===== ===== Code example =====
  
-<code> +<code html form.html
-<form action="File.php" method="post">+<form action="form.php" method="post">
  
 Status:<br/> Status:<br/>
Line 44: Line 44:
 </code> </code>
  
 +See [[webseite:php:form]] for the PHP
  
- +\\ 
- +\\ 
 +~~DISCUSSION:closed~~
webseite/html/form.1401197785.txt.gz · Last modified: 2017/03/01 12:50 (external edit)