HTMLForm provides infrastructure for handling form submission, which is currently not being used by the TallyPage.
This includes convenient wiring for:
- passing form data through to submit callbacks
- displaying errors with the correct styling
- displaying the form again if there is an error, so that the user can correct it
Before (unstyled error message only) | After |
In T271830 we are adding new form fields and introducing new potential errors, and will need to make correcting these errors more convenient. We should do this ahead of solving that task.