| ||||||||||||||||||||||
Navigation Home Page
Click here to expand or collapse... Every You, Every Me (Youtube release)
Upcoming BL Series (Start date) Click here to expand or collapse... Top Form (Thu 20 Mar 2025)
Click here to expand or collapse... Art Of Love (OFFLINE)
Beautiful Scars (Episode 4 finale OFFLINE)
Boyband (No International release)
Friend Forever/Our Love Is Sick (OFFLINE)
Great Men Academy (OFFLINE)
Healing Thingyan (OFFLINE)
Hehe & He (Season 3 - on hiatus)
Hook Up (Season 2) (OFFLINE)
If I Love A Boy (OFFLINE)
Indigo (OFFLINE)
Jack And Jill (OFFLINE)
Lakan (OFFLINE)
Make A Wish [Philippines] (OFFLINE)
Make A Wish [Thailand] (No International release)
Missing Piece (OFFLINE)
My Secret Love (OFFLINE)
Quaranthings (OFFLINE)
Roommate (Season 1 OFFLINE)
Sugar Dog Life (No International release)
Truly Very Yours (Season 1) (OFFLINE)
Unguarded (Season 3) (OFFLINE)
Venus In The Sky (Youtube release)
Click here to expand or collapse...Click here to expand or collapse... Destined/Fated (OFFLINE)
Infinity (OFFLINE)
Kiss The Night (OFFLINE)
Overlooked Love (OFFLINE)
The Next Door Crush (OFFLINE)
The Whisperer (EP10 Finale never released)
Unexpected (OFFLINE)
Click here to expand or collapse... = Cambodia = China = Hong Kong = India |
FormsThis 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:
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, Standard input controlsThe standard input controls are:
Where name and value are in the HTML syntax: name="addr" value="808 W Franklin". A PmWiki-specific input control is "e_author" which will be pre-filled with the current author name, and if For most controls the markup has the form: 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 The Here's a more complete example, e.g., for a login prompt:
General form field attributes
(:input select ... :)The basic form of a select box is a sequence of options:
The values can be specified positionally: We can specify the size of the selection box: You can specify a multiple select box (only the first item needs to have "size=3 multiple" attributes): To have an element selected, use Note that to have two select boxes inline, not only should you give them different
Note, in the HTML output, only the attributes (:input datalist ... :)This allows a number of values (suggestions) to appear in a drop-down menu allowing the user to select one of the values or to fill a new, different value. The markup accepts named or positional attributes:
An existing The datalist element is invisible and can be anywhere in the page. The suggestion menu appears when the user starts typing in the attached text field and filters the suggested values that contain the letters typed in the text field.
This is a recent addition to the HTML standard, see https://caniuse.com/#feat=datalist for current browser support. Note that if you have a datalist element immediately following another datalist element, not only should you give them differentid= attributes, but also place a separator, like a character, or the null sequence [==] between them: (:input datalist dl_1 First:) (:input datalist dl_1 Second:)[==] (:input datalist dl_2 First:) (:input datalist dl_2 Second:) (:input pmtoken:)This includes a unique session identifier as a hidden input field to prevent cross-site request forgeries (CSRF). Can be included in custom forms, and the custom action handlers receiving the form can check if the request is valid by calling pmtoken(1). The "name" of the HTML input element, by default 'pmtoken', can be changed by setting for example See Also
Compatible recipes:
This page may have a more recent version on pmwiki.org: PmWiki:Forms, and a talk page: PmWiki:Forms-Talk. | |||||||||||||||||||||
View
Edit
History
Attach
Print
Page last modified on February 06, 2024, at 01:32 AM |