u8hodt1 1l6e3rcn4 <a href="http://mtcg.snu.ac.kr/index.php?mid=sphmsg&document_srl=9525#">maglie calcio poco prezzo</a> zw8hd0bag 4wlapzc5x\n 1o8xnzej aklmrgf <a href="http://steelcongress.ru/matthias-fodboldtrojer-med-tryk-susannah/">billige fodboldtrøjer</a> wu0onr c5pw24\n uzcfo7p louvx0nfkr <a href="http://www.robotous.com/index.php?mid=photo&document_srl=5422#">maglie calcio bambino</a> 6p81a49ju0 4knlajd6h\n |
(:Summary:Contains the 'action' links (like Browse, Edit, History, etc.), placed at the top of the page, see site page actions:) (:comment This page can be somewhat complex to figure out the first time you see it. Its contents are documented at PmWiki.SitePageActions if you need help. :) * View * Edit * History * Print (:comment delete if and ifend to enable backlinks:) PmWiki /
Forms(:Summary: PmWiki group header. Includes styles and trail.:) (:comment please leave the multiple style definitions concatenated as a single line. Linebreaks do appear in the output when the wiki is configured with linebreaks enabled -- thanks!:) (:comment included in PmWiki localisation headers and footers :) This page explains how you can embed input forms into wiki pages. Input forms don't actually handle processing of the form data -- the feature simply allows creation of forms inside wiki pages. Forms processing can be found in the Cookbook (see below). MarkupTwo directives are used to begin and end forms: (:input form "''url''" ''method'':) ... (:input end:) The If your site uses ?n=Group.Page to specify the pagename then having a field The Note that this feature doesn't ensure that the form output is correct HTML -- it assumes the author knows a little bit of what he or she is doing. Notably, (:input form:) and (:input end:) shouldn't appear inside tables, and all form fields and controls should be inside an (:input form:)...(:input end:) block. Standard input controlsThe standard input controls are: (:input text ''name'' ''value'' size=''n'':)
(:input hidden ''name'' ''value'':)
(:input password ''name'' ''value'':)
(:input radio ''name'' ''value'':)
(:input checkbox ''name'' ''value'':)
(:input select ''name'' ''value'' ''label'':)
(:input default ''default-name'' ''default-value'':)
(:input submit ''name'' ''value'':)
(:input textarea ''name'' '' Where ''name'' and ''value'' are in the HTML syntax: name="addr" value="808 W Franklin". For most controls the markup has the form: (:input ''type'' ''name'' ''value'' ''parameter=value'':) where ''type'' is the type of input element (described below), ''name'' is the name of the control, ''value'' is its initial value, and parameters are used to specify additional attributes to the control. If ''value'' contains spaces, enclose it in quotes; if it contains newlines (for textarea and hidden elements), enclose it in For example, the following creates a text input control with a size of 30 characters:
For convenience, an author can also specify name and value arguments directly using
For the @@textarea@@ control a value can be set from PmWiki 2.2.0beta45 onwards. Enclose the value in The (:input submit value=''label'':) Here's a more complete example, e.g., for a login prompt:
General form field attributes*
|
|
The values can be specified positionally:
(:input select abc 1 alpha :)
We can specify the size of the selection box:
(:input select abc 1 alpha size=3 :)
You can specify a multiple select box:
(:input select abc 1 alpha size=3 multiple:)
To have an element selected, use @@selected=selected@@:
(:input select abc 2 beta selected=selected:)
Note that to have two select boxes inline, not only should you give them different @@name=@@ parameters, but also place a separator, like a character,
or even the null sequence [==]
between them:
(:input form:) |
*Cookbook:Input Default *Cookbook:Form Validation *Cookbook:Form Extensions *Cookbook:Input Forms and JavaScript
Compatible recipes: * Cookbook:PmForm * Cookbook:Fox * Cookbook:Wiki Forms * Cookbook:ProcessForm
(:nl:)(:Summary:Trail and talk page links:) (:comment included in PmWiki localisation headers and footers :) <<? >>bgcolor=#ffe border-top="1px solid black" font-size=.8em<< This page may have a more recent version on pmwiki.org: PmWiki:Forms, and a talk page: PmWiki:Forms-Talk. >><<