branch: master
commit 242f5156862583956473de343a5a5ab8f52d53a0
Author: Michael[tm] Smith <[email protected]>
Commit: Michael[tm] Smith <[email protected]>
Emit error for empty form-control `name` attr.
Fixes #106. Thanks @dhodder.
---
web-forms.rnc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/web-forms.rnc b/web-forms.rnc
index f786a1b..3f89143 100644
--- a/web-forms.rnc
+++ b/web-forms.rnc
@@ -13,7 +13,7 @@ datatypes w = "http://whattf.org/datatype-draft"
common-form.attrs.name =
attribute name {
- string #REVISIT should this be restricted somehow? No &
and = perhaps?
+ form.data.nonemptystring
}
common-form.attrs.disabled =