[MGNLFORM-196] Use HTML5 markup for forms and define new controls Created: 24/Apr/12 Updated: 15/Apr/16 Resolved: 29/Oct/15 |
|
| Status: | Closed |
| Project: | Magnolia Form Module |
| Component/s: | field, validation |
| Affects Version/s: | None |
| Fix Version/s: | 2.3.2 |
| Type: | Story | Priority: | Critical |
| Reporter: | Boris Kraft | Assignee: | Roman Kovařík |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | next | ||
| Remaining Estimate: | 0d | ||
| Time Spent: | 2h 28m | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||||||||||
| Issue Links: |
|
||||||||||||||||||||
| Template: |
|
||||||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||||||||||||||
| Date of First Response: | |||||||||||||||||||||
| Epic Link: | MTE > 1.0 | ||||||||||||||||||||
| Sprint: | Kromeriz 16 | ||||||||||||||||||||
| Story Points: | 5 | ||||||||||||||||||||
| Description |
|
While we claim that Magnolia 4.5 uses the html5 forms support it really doesn't. Even the Email form-field is of type input instead of type email. What we should do and do so soon is to add the html5 input types to Magnolia's form module. These are the input types html5 supports natively:
And at the very minimum we need to update the email field to be of type email! Also we should implement the HTML5 placeholder attribute to display dim text in the input or description field, that dissapears as soon as user enters a value. (See http://davidwalsh.name/html5-placeholder) |
| Comments |
| Comment by Evzen Fochr [ 29/Oct/15 ] |
|
incorrect i18n add formNumber to /modules/form/templates/components/formGroupFields/areas/fields/availableComponents missing tel input type |