NAME
Data::MuForm::Field::Currency - US currency-like values
VERSION
version 0.05
DESCRIPTION
Validates that a positive or negative real value is entered. Formatted with two decimal places.
Uses a period for the decimal point.
If form has 'is_html5' flag active it will render <input type="number" ... /> instead of type="text"
ATTRIBUTES
- currency_symbol
-
Currency symbol to remove from start of input if found, default is dollar
$. - disallow_commas
-
Don't Allow commas in input for digit grouping? Digits are grouped into groups of 3, for example
1,000,000,000. Defaults to false.
AUTHOR
Gerda Shank
COPYRIGHT AND LICENSE
This software is copyright (c) 2018 by Gerda Shank.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.