Hello,
   how can i validate an "int" field with intake?
in my intake.xml,there is a field
<group ....>
    <field name="LeadsCount" key="leadscount" type="int" mapToProperty="LeadsCount">
        <rule name="mask" value="^$|[0-9]+">Please input a valid count</rule>
        <rule name="minValue" value="0">Value must greater than 0</rule>
        <rule name="maxValue" value="65535">Value can not greater than 65535</rule>
        <required-message>This module requires a valid count.</required-message>
    </field>
</group>

but it doesn't work,why?






--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to