General usage of type in input fields
This commit is contained in:
parent
47505aceec
commit
c28f1fec51
3 changed files with 4 additions and 4 deletions
|
@ -80,7 +80,7 @@ Field parameter:
|
|||
|
||||
### field_input.tpl
|
||||
|
||||
A single line input field for textual input.
|
||||
A single line input field for any type of input.
|
||||
Field parameter:
|
||||
|
||||
0. Name of the field,
|
||||
|
@ -89,7 +89,7 @@ Field parameter:
|
|||
3. Help text for the input box,
|
||||
4. if set to "required" modern browser will check that this input box is filled when submitting the form,
|
||||
5. if set to "autofocus" modern browser will put the cursur into this box once the page is loaded,
|
||||
6. if set to "email", "url" or "int" modern browser will check that the filled in value corresponds to an email address, URL or numeric.
|
||||
6. if set, it will be used for the input type, default is `text` (possible types: https://www.w3schools.com/html/html_form_input_types.asp).
|
||||
|
||||
### field_intcheckbox.tpl
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue