---
title: "Forms and validation QA recipes"
description: "Check required fields, correction flows, unsaved changes and submission behavior using known valid and invalid inputs."
canonical_url: "https://vostride.com/agent-library/forms-validation.md"
md_url: "https://vostride.com/agent-library/forms-validation.md"
content_kind: "index"
topic: "forms-validation"
---

# Forms and validation QA recipes

Check required fields, correction flows, unsaved changes and submission behavior using known valid and invalid inputs.

Assert both the error and recovery path. Invalid submission should leave persistence unchanged, while correction should save exactly the intended values.

## Pages (10)

- [Discard an edited draft without persisting fields](https://vostride.com/agent-library/forms-validation/cancel-edit-restores-saved.md): Verify that Cancel abandons changes across text, selection, and toggle controls while reopening the record restores the last saved values.
- [Validate fields revealed by a conditional choice](https://vostride.com/agent-library/forms-validation/conditional-required-address.md): Verify that shipping fields become required only for physical delivery and that switching back to digital delivery removes obsolete validation.
- [Reject a reversed date interval](https://vostride.com/agent-library/forms-validation/cross-field-date-order.md): Test a form whose end date must follow its start date, including correcting one field while preserving the other entered values.
- [Clear a dependent selection when its parent changes](https://vostride.com/agent-library/forms-validation/dependent-select-reset.md): Verify that changing a country or parent category invalidates an incompatible child selection before a form can save misleading data.
- [Prevent duplicate records on repeated submit](https://vostride.com/agent-library/forms-validation/double-submit-single-record.md): Verify a pending form submission cannot create duplicate records when the user activates Save again before the first response finishes.
- [Reject a duplicate name without changing the original](https://vostride.com/agent-library/forms-validation/duplicate-unique-name.md): Verify server-enforced uniqueness using an existing test record, then recover with a distinct name and confirm both saved objects.
- [Preserve numeric precision at a validation boundary](https://vostride.com/agent-library/forms-validation/numeric-limit-precision.md): Test a decimal input at its allowed minimum and maximum precision, including an over-precise value that must be rejected under the product contract.
- [Recover after submitting a required field empty](https://vostride.com/agent-library/forms-validation/required-field-recovery.md): Verify required-field validation, correction, and successful persistence while checking that the rejected attempt creates no partial record.
- [Keep a valid form draft after a save failure](https://vostride.com/agent-library/forms-validation/server-error-keeps-draft.md): Verify that a controlled server failure preserves a valid draft, shows an actionable error, and allows a single successful retry.
- [Validate a documented Unicode length limit](https://vostride.com/agent-library/forms-validation/unicode-length-boundary.md): Test a short text field with a defined character-counting rule so emoji and combining characters do not produce inconsistent validation or truncation.

## Apply a recipe

These are test designs to adapt to an application's acceptance criteria and fixtures. They are not recorded runs or a claim that a listed application has been tested. Use the [recipe execution guide](https://vostride.com/agent-library/software-factory/turn-a-recipe-into-an-agent-qa-test.md) to author, validate, run and inspect a test.

[All topics](https://vostride.com/agent-library.md)
