DOKK / manpages / debian 12 / libhtml-formhandler-perl / HTML::FormHandler::Field::Money.3pm.en
HTML::FormHandler::Field::Money(3pm) User Contributed Perl Documentation HTML::FormHandler::Field::Money(3pm)

HTML::FormHandler::Field::Money - US currency-like values

version 0.40068

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"

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.

FormHandler Contributors - see HTML::FormHandler

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.

2022-03-25 perl v5.34.0