Module provides a plugin to handle custom tags for html5 forms. Following is a table of token-specifiers that are common to all tags handled by this plugin, and augment the standard set of specifiers provided by tayra.tags.Tags base class.
token Equivalent attribute pairs on autocomplete=”on” off autocomplete=”off” autofocus autofocus=”autofocus” application/ x-www-form-urlencoded enctype=”application/x-www-form-urlencoded” multipart/form-data enctype=”multipart/form-data” text/plain enctype=”text/plain” get formmethod=”get” post formmethod=”post” novalidate formnovalidate=”novalidate” required required=”required” checked checked=”checked” hard wrap=”hard” soft wrap=”soft” [<item1>,<item2>] list=”<item1>,<item2>” <pattern> or %<pattern>% pattern=”<pattern>” h:<placeholder> placeholder=”<placeholder>” f:<formname> form=”<formname>” a:<formaction> formaction=”<formaction>” min < step < max min=”<min>” step=”<step>” max=”<max>” min < max min=”<min>” max=”<max>” <maxlength>:<size> maxlength=”<maxength>” size=”<size>” <width>,<height> height=”<height>” width=”<width>”
- if placeholder string has several words seperated by white-space, replace spaces with + character. If help string is more complicated containing several special characters it is better to avoid h:... format and define them directly as an attribute.
- a quoted string is interpreted as value attribute and translated to value=<string>.
- If action-url contains white-spaces, replace them with + character.
Bases: tayra.tags.Tags
Plugin to handle HTML input elements and other form tags like, textarea and select. It also provides a common set of token specifiers described by this module documentation. To know more about tokens specific to each tags refer to the corresponding handler function.
<input type=”button”> handler
<input type=”check”> handler
<input type=”color”> handler
<input type=”date”> handler
<input type=”datetime”> handler
<input type=”datetime-local”> handler
<input type=”email”> handler
<input type=”file”> handler
<input type=”hidden”> handler
<input type=”image”> handler
<input type=”month”> handler
<input type=”number”> handler
<input type=”password”> handler
<input type=”radio”> handler
<input type=”range”> handler
<input type=”reset”> handler
<input type=”search”> handler
<input type=”submit”> handler
<input type=”tel”> handler
<input type=”text”> handler
<input type=”time”> handler
<input type=”url”> handler
<input type=”week”> handler
<select> handler. Supported tokens,