NAME
HTML::FormHandler::Field::Money - US currency-like values
VERSION
version 0.40068
DESCRIPTION
Validates that a positive or negative real value is entered. Formatted with two decimal places.
Uses a period for the decimal point. Widget type is 'text'.
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
$
. - allow_commas
-
Allow commas in input for digit grouping? Digits are grouped into groups of 3, for example
1,000,000,000
. Defaults to false.
AUTHOR
FormHandler Contributors - see HTML::FormHandler
COPYRIGHT AND LICENSE
This software is copyright (c) 2017 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.