Scroll to navigation

HTML::FormHandler::Field::Money(3) User Contributed Perl Documentation HTML::FormHandler::Field::Money(3)

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 to remove from start of input if found, default is dollar "$".
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.

2017-07-21 perl v5.40.0