[opencms-dev] Validation Rules
Tosi, Joel
JTosi at cme.com
Sun Feb 19 23:29:22 CET 2006
Jon,
Yes and no. We actually sent this into Alkacon and they patched it in the 6.2 branch. So yes it was addressed, but no it doesn't work in any of the code probably more recent than like 10 days ago.
Joel
-----Original Message-----
From: opencms-dev-bounces at opencms.org on behalf of Jonathan Woods
Sent: Sun 2/19/2006 12:29 AM
To: 'The OpenCms mailing list'
Subject: RE: [opencms-dev] Validation Rules
Joel -
Did you ever get this sorted? I suspect I'm about to run into the same
problem!
Jon
_____
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Tosi, Joel
Sent: 08 February 2006 17:41
To: The OpenCms mailing list
Subject: [opencms-dev] Validation Rules
We are running on 6.0.2. In one of our xsd files, we put in a validation
rule to ensure that this field is populated (a required field). So the
validation rule was:
<validationrules>
<rule element="Title" regex="!^\s*$" type="warning"
message="Title field should not be left empty" />
</validationrules>
The problem is that this error shows up when we create a new piece of
structured content. Why isn't the validation rule only called on save or
did we do something wrong?
Thanks,
Joel
More information about the opencms-dev
mailing list