You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Jürgen Hoffmann <jh...@byteaction.de> on 2003/09/09 17:12:29 UTC

Intake in 2.3

Hi All,

I used to have fields in Turbine 2.3 of Type:
		<field name="ClientEmail" mapToProperty="ClientEmail"
key="ClientEmail" type="String">
			<rule name="required"
value="false">Required</rule>
			<rule name="mask"
value="^[a-z0-9]+(?:[a-z0-9-.]*[a-z0-9])?@[a-z](?:[a-z0-9-]*[a-z0-9])?\.
[a-z]+$">ValidValue</rule>
		</field>
And
		<field name="DeadLineDateString"
mapToProperty="DeadLine" key="DeadLine" type="DateString">
			<rule name="required"
value="false">Required</rule>
			<rule name="format1"
value="dd.MM.yy">DD_MM_YYYY</rule>
			<rule name="flexible"
value="false">DD_MM_YY_HH_MM</rule>
		</field>

If the user left the fields blank in T2.2 it would be accepted by
Intake's isAllValid() Method, but now the user has to enter valid values
for the form to be submitted.

Could this be worked around with an empty mask? 

Is this a bug or a feature?

Kind ergards
 
Jürgen Hoffmann