23368 Posts in 18143 Topics by 2863 members
|Go to End|
9 September 2009 at 11:52pm
NumericField() does not support negative numbers. If I supply "-100" it returns:
'-555' is not a number, only numbers can be accepted for this field
Is this a bug or am I missing something?
20 February 2010 at 1:13pm Last edited: 20 February 2010 1:19pm
I get the same error in my custom CMS tab when I try to enter a negative number into the Int field.
public static $db = array(
'TopMargin' => 'Int',
new NumericField("TopMargin", "Top Margin"),
I get "'-20' is not a number, only numbers can be accepted for this field".
As a result, I am having to use TextField instead.
Perhaps I am missing somethings as well? Negative integers are numbers.
Anyone have any ideas?
|Go to Top|