Form:Semantic Form demo: Difference between revisions

The educational technology and digital learning wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 47: Line 47:
|-
|-
! Field_datetime:
! Field_datetime:
| {{{field|field_datetime|input type=datetype}}}
| {{{field|field_datetime|input type=datetime}}}
|-
|-
! Field_listbox:
! Field_listbox (multiple addictions are possible):
| {{{field|field_listbox}}}
| {{{field|field_listbox|input type=listbox|values = Coffee, Computer gaming, Alcohol, Sex, Gambling, Loud Rock Music, Coca Cola}}}
|-
|-
! Field_datepicker:
! Field_datepicker:
Line 72: Line 72:
}}}
}}}
|-
|-
! Field_two_listboxes:
! Field_two_listboxes (multiple addictions):
| {{{field|field_two_listboxes}}}
| {{{field|field_two_listboxes|input type=two listboxes|values = Coffee, Computer gaming, Alcohol, Sex, Gambling, Loud Rock Music, Coca Cola}}}}}}
|-
|-
! Field_regexp:
! Field_regexp (Visa card number):
| {{{field|field_regexp}}}
| {{{field|field_regexp|input type=regexp|regexp=/^4[0-9]{12}(?:[0-9]{3})?$/}}}
|}
|}
{{{end template}}}
{{{end template}}}

Revision as of 16:45, 3 July 2013

This is the "Semantic Form demo" form.

Please do not create new forms. Here are your options:



Readme

This form demonstrates Semantic Forms. It uses the Form:Semantic_Form_demo and the Template:Semantic_Form_demo

In order to avoid "data pollution" in this wiki, the Form is not "semantic", i.e. it demonstrates input types that are not linked to semantic properties.