Skip to content

Validation

Validate forms with good UX: required fields, feedback states, and clear error messages for users.

Demo Projects HQ already gives you a concrete validation example on the new-task page, so this tour stays on that real form instead of abstract slides. The task form combines required fields, numeric boundaries, data-bound selectors, and request feedback, which makes it a better baseline for form quality than a synthetic example.

Real editor context
You can inspect the same fields and messages you would actually maintain in a project page.
Validation plus submission
The page also shows how client validation sits beside success, error, and executing states.
Keep field rules close to the field they protect.
Use plain-language messages instead of vague validation failures.
Treat client validation as UX, not as your only security layer.

Task title shows the baseline validation contract

Section titled “Task title shows the baseline validation contract”

The title field is required and has a minimum length, so it demonstrates the core validation contract clearly: the field knows what counts as acceptable input, and the user gets immediate feedback before the form can submit bad data.

Validation has to cover numbers and relationships too

Section titled “Validation has to cover numbers and relationships too”

Estimated hours and the project picker show that validation is not just for text inputs. Demo Projects HQ checks numeric boundaries on #task_estimate and requires a real project relationship through #task_project, which keeps the form honest about what the record needs before it can be saved.

important: A field being data-bound does not remove the need for validation. Relationships still need explicit required rules and understandable messages.

The same task form also exposes success, executing, and error states through task_form, which is why strong validation should be paired with clear submit feedback and real server-side checks. Use the focused App Connect Validator tour next if you want the field-by-field walkthrough in the same Demo Projects HQ page.

Always validate again on the server before persisting data.
Show the user what happened after submit, not just whether they were blocked before it.
Reuse the same Projects HQ page as your concrete reference when applying the pattern elsewhere.