XForms demo: input, select, output
This page demonstrates:
- Incremental input for first name (XForms <input>)
- Non-incremental input for pet's name
- Input with boolean data type (i.e. checkbox)
- Binding an input to a data type with XForms <bind> (e.g. the boolean checkbox)
- Text area input (XForms <textarea>)
- Select from drop-down menu (XForms <select1>)
- Constraint on the selection (default value 'pet' must be changed)
- Output (XForms <output>)
- Range slider (XForms <range>)
- File upload (XForms <upload>)
- Trigger (XForms <trigger>)
- Message (WIP) (XForms <message>)
- @while attribute to iterate the message.
- Relevant binding to display a sentence only when the pet name is set to 'Blanket'.
- Value change binding for feeding time compared to current time