Changeset 56 in text-formbuilder for trunk/lib/Text/FormBuilder.pm
- Timestamp:
- 01/13/05 15:00:25 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Text/FormBuilder.pm
r55 r56 624 624 =head1 REQUIRES 625 625 626 L<Parse::RecDescent>, L<CGI::FormBuilder>, L<Text::Template> 626 L<Parse::RecDescent>, 627 L<CGI::FormBuilder>, 628 L<Text::Template>, 629 L<Class::Base> 627 630 628 631 =head1 DESCRIPTION … … 1043 1046 description[4,30]:textarea 1044 1047 1048 To also set the C<maxlength> attribute for text fields, add a C<!> after 1049 the size: 1050 1051 # ensure that all titles entered are 40 characters or less 1052 title[40!]:text 1053 1054 This currently only works for single line text fields. 1055 1045 1056 For the input types that can have options (C<select>, C<radio>, and 1046 1057 C<checkbox>), here's how you do it:
Note: See TracChangeset
for help on using the changeset viewer.