From b9e619581ef37d9139b54815d26678bbcef669b3 Mon Sep 17 00:00:00 2001 From: MikeMoolenaar Date: Sat, 20 Jan 2024 13:53:24 +0100 Subject: [PATCH] Clarify hx-validate documentation --- www/content/attributes/hx-validate.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/content/attributes/hx-validate.md b/www/content/attributes/hx-validate.md index 2a92714a0..355f7d473 100644 --- a/www/content/attributes/hx-validate.md +++ b/www/content/attributes/hx-validate.md @@ -5,7 +5,7 @@ title = "hx-validate" The `hx-validate` attribute will cause an element to validate itself by way of the [HTML5 Validation API](@/docs.md#validation) before it submits a request. -Form elements do this by default, but other elements do not. +Only `
` elements validate data by default, but other elements do not. Adding `hx-validate="true"` to ``, `