We tend to think about HOF and the HMPO form stack as being all about multi-page forms, but actually HOF provides a lot besides that, including:
- a good pattern for form validation
- good UX in general
- a leg up on accessibility
For that reason, it would be nice to leverage HOF even on very small, single page forms. Also, it would be nice to do so:
- without providing a steps definition - which would be silly!
- without requiring a session - as information does not necessarily need to persist across requests
- with support for method="GET"
I have been writing a controller to provide this functionality. Initially I intend to wrap the whole of HOF but in the long run it would be nice to make this controller available publicly. To my mind, the best place for this controller to live would be hof-controllers but it could otherwise be provided as a separate module wrapping all of HOF.
What do people think?
We tend to think about HOF and the HMPO form stack as being all about multi-page forms, but actually HOF provides a lot besides that, including:
For that reason, it would be nice to leverage HOF even on very small, single page forms. Also, it would be nice to do so:
I have been writing a controller to provide this functionality. Initially I intend to wrap the whole of HOF but in the long run it would be nice to make this controller available publicly. To my mind, the best place for this controller to live would be hof-controllers but it could otherwise be provided as a separate module wrapping all of HOF.
What do people think?