I solved this by settings the specific integer fields with:

type="integer" fttype="string" ftValidation="required,validate-number"

I first did it like:

type="integer" fttype="integer" ftValidation="required,validate-
number"

This because i thought it was necessary to use fttype="integer" to be
able to validate the integer value, this is as i see also possible
with just the ftValidation="required,validate-number"

On Sep 30, 9:33 pm, Marco van den Oever <[EMAIL PROTECTED]>
wrote:
> I know this might be a my sql problem only but maybe the solution is
> achievable with farcry.
>
> In a bannercount field the number gets an "," so that it changes from
> 8000 to 8,000, i tried all kinds of settings in my sql but no luck,
> anyone has a tip for me?
>
> Problem is that i use ftvalidation integer, so because of the "," i
> get an validation error :) Anyway i just don't want that "," in
> there...
>
> Is this something i should change in the code of formtools?
>
> Also, when creating types, can you give more info on how you want the
> field generated in in my sql or of course ms sql, sort of parameters
> that set the "not null" value or "Size" value?
>
> Thanks again,
>
> Marco
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to