this is a bit of doco on the docs site
http://docs.farcrycms.org/display/FCDEV40/Formtool+Validation
http://docs.farcrycms.org/display/FCDEV40/numeric
http://docs.farcrycms.org/display/FCDEV40/integer
you will want to change ftType to numeric or integer
Farcry 6 probably has more in it than is documented here
all the types can be found here
farcry/core/packages/formtools
On 20 May 2010 23:00, Benni Dulcheevitze <[email protected]> wrote:
> Hello, I'm pretty new to farcry and JQuery and I have a doubt in
> client side form validation, I have the following code
>
> <cfproperty ftSeq="7" ftFieldSet="" name="numberOfPeople"
> type="integer"
> hint="the number of people"
> ftRequired="true"
> ftLabel="number of people"
> ftDefault=""
> ftType="string"
> ftValidation="required,number"
> ftStyle="width:40px;"
> />
>
> Besides validating that the value will be "required" and "number" I
> want to set a maximun value for it, I just can't seem to be able to
> correctly use the method max(value) from Jquery.validate for doing
> this.
> Can someone help me?
>
> Thanks
> Benni
>
> --
> You received this message cos you are subscribed to "farcry-dev" Google
> group.
> To post, email: [email protected]
> To unsubscribe, email:
> [email protected]<farcry-dev%[email protected]>
> For more options: http://groups.google.com/group/farcry-dev
> --------------------------------
> Follow us on Twitter: http://twitter.com/farcry
--
AJ Mercer
http://webonix.net
http://twitter.com/webonix
--
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: [email protected]
To unsubscribe, email: [email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry