Re: Re: normalize-space() as default behavior to "required"
Posted by
Erik Bruchez-3 on
Jan 22, 2010; 4:05am
URL: https://discuss.orbeon.com/normalize-space-as-default-behavior-to-required-tp1011785p1089548.html
What you are asking makes a lot of sense. In fact, that's something we
think is broken in XForms! Basically, the required property does not
make much sense as is in most cases.
You can usually add e.g. constraint="normalize-space() != ''" and have
the desired behavior.
We have also thought about having an option to change the meaning of
required to "non-blank" instead of the current "non-empty".
-Erik
On Thu, Jan 21, 2010 at 7:56 PM, npujol73 <
[hidden email]> wrote:
>
>
> I have not seen any response to this. Does what I am asking NOT make sense?
> I would think that from a practical standpoint others would have encountered
> situations where one or more blank DOES not make up a valid field value and
> hence if the field is required, it should remain in error. That seems like a
> convenient global form setting.
> --
> View this message in context:
http://n4.nabble.com/normalize-space-as-default-behavior-to-required-tp1011785p1088979.html> Sent from the ObjectWeb OPS - Users mailing list archive at Nabble.com.
>
>
> --
> You receive this message as a subscriber of the
[hidden email] mailing list.
> To unsubscribe: mailto:
[hidden email]
> For general help: mailto:
[hidden email]?subject=help
> OW2 mailing lists service home page:
http://www.ow2.org/wws>
>
--
You receive this message as a subscriber of the
[hidden email] mailing list.
To unsubscribe: mailto:
[hidden email]
For general help: mailto:
[hidden email]?subject=help
OW2 mailing lists service home page:
http://www.ow2.org/wws