Re: required and submission

Ok, so it's a validity property; I had forgotten that:

https://www.w3.org/community/xformsusers/wiki/XForms_2.0#Revalidate

An instance node is valid if

the value is empty and not required,
or


Still, I think we ought to be more explicit about that.

Steven


On Tue, 15 Sep 2020 12:37:51 +0200, Steven Pemberton  
<steven.pemberton@cwi.nl> wrote:

> https://www.w3.org/community/xformsusers/wiki/XForms_2.0#The_required_Property
>
> 5.3.4 The required Property
> This property describes whether a value is required before the instance  
> data can be submitted.
>
> This property indicates whether the instance data node must be non-empty  
> before a submission of the instance data can occur. A value is non-empty  
> if it would have a length greater than zero if converted to string.
>
> (Also in XForms 1.1)
>
> And yet, I find nothing in submission processing that enforces this!
>
> And furthermore, I would expect we should have a submission attribute  
> required="false" that allows you to submit regardless of 'required'  
> processing.
>
> Steven

Received on Tuesday, 15 September 2020 11:47:32 UTC