So I have a model attribute
attributeName with an
I haven't implemented any personal validation rules yet, however when I run:
its giving me a
"attributeName must be an integer" error.
Is this just the default validation rule of the
AttributeType::Number? and if so, is there anything I can do to make it accept floats?
I am trying to use this attribute for a price, I should note.
CNumberValidator has an
integerOnly attribute, so I tried setting
'integerOnly'=>false in the attribute declaration, to no avail. Not sure if its relevant, I think I might be grasping at straws. Any help would be greatly appreciated!