Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| webseite:html:form [2014/06/05 15:55] – lunetikk | webseite:html:form [2018/12/20 17:45] (current) – Discussion status changed lunetikk |
|---|
| ===== 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> |
| </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 | |
| | FIXME | radio buttons | | | <input type="radio" name="radiobutton" value="selectme"> | radio buttons | |
| | FIXME | 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 | |
| |
| See [[webseite:php:form]] for the PHP | See [[webseite:php:form]] for the PHP |
| |
| | \\ |
| | \\ |
| | ~~DISCUSSION:closed~~ |