how to validate amount in cakephp,
validation rule: should not accept empty space, should not alpha numeric, should not accept special character except dot(.),
example:
should accept below values
12 12.0 12.00 133
should not accept below values
123_33/#$#%#$%# a1a1455 asd fadsfads
actual thing is, this field for payment gateway, so before sending amount to payment gateway, we should make sure, we are sending decimal or full integer.
information: working in cakephp framkework