Conform · Function
validateConstraint
useForm returns metadata for an HTML form and its fields. Use that metadata to set IDs, names, accessibility attributes, defaults, and validation behavior.
Last updated
Syntax
const [form, fields] = useForm(options);In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
form.idfields.message.idfields.message.namefields.message.validfields.message.errorIdfields.message.descriptionIdaria-invalidaria-describedby