rest/forms-brainstorming
Jump to navigation
Jump to search
Forms Brainstorming
This page collects ideas from forms-examples how to best encode form data into a microformat
Proposal A: DETH - Dictionaries Encoding/Transmitting HTML
Rules (Strawman)
- Only use XHTML Basic Forms Module
- Must use action with appropriate URI (no scripts)
- Recommend: use a label with every input
- Make the for of the label match the id of input
- Group label with input using
- Always place submit and reset outside grouping
Questions for further research
- How to specify whether a field is optional or required?
- Suggestion: the label contains a * ?