Greetings,

I have a custom type with a numeric data type as defined below:

<cfproperty ftSeq="412" ftWizardStep="EC" ftFieldSet="EC" ftLabel="Estimated
EC Contribution" default="" hint="Est. EC Contribution"
name="est_ec_contrib" type="numeric" ftValidation="validate-number" />

Each time I load the editing page for this field, it sets the value to
"0,00". As you can see, that's a number. However, it's not a number
according to the validation rule which doesn't take into account spaces or
the comma instead of a full stop (or period for you Americans) as a decimal
separator.

I therefore would like to know two things:
- How easy would it be to alter the validation script to accept spaces and ,
instead of .
- and, Why is it every time I load that wizard page it defaults to a value
that won't pass the validation - what can I do to stop this?

Cheers,
-Phil

-- 
View this message in context: 
http://www.nabble.com/Number-format-validation-issues-tp24323966s621p24323966.html
Sent from the FarCry - Dev mailing list archive at Nabble.com.


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to