html-formhandler
html-formhandler copied to clipboard
a Perl Moose HTML form handler
Hi, I tried to render radio group inline with Bootstrap3 and the only way it worked was to change radio_element_wrapper => 0 in HTML::FormHandler::Widget::Wrapper::Bootstrap3 and also in HTML::FormHandler::Widget::Field::RadioGroup line 92...
If a validate method throws an exception the validate_form is interrupted and clear_posted never gets called leading to a non-functioning form if cached. See https://github.com/bobtfish/catalystx-simplelogin/commit/a16af715f149ca72f5ca9a81276a373b10652e93 for an example.
`"Setting both default and builder is not allowed. at /usr/local/lib/perl/5.14.2/Moose/Exporter.pm line 419 Moose::has('+wrapper_class', 'default', 'captcha') called at /usr/local/share/perl/5.14.2/HTML/FormHandler/Field/Captcha.pm line 15` My code: ``` package SureVoIP::Portal::Form::Auth::Reset; use strict; use warnings; use...
When looping over the elements of a Repeatable field using $form->field('repeatable')->fields Repeatable::Instance objects are returned as documented. When doing the same thing when the Repeatable field is inactive it returns...
Hi, I'd like to use the wizard, but I'm not sure of how it works. This is what I think it does: 1. The wizard is a subclass of the...
It's possible to transform the selected option from a Select, but afterwards the transformed value is used as fif. Result: the selected option is not selected anymore. Setting the attribute...
I'm doing this in CE code, and this would be a lot nicer if the field class itself knew how to do this (probably in HTML::FormHandler::Model::DBIC I suppose): ``` package...
Hi Gerda, I've seen the level part in RepeatableJs with the note in the docs to use it for supporting nested repeatables in the future. Are there any plans for...
I discovered something strange. Consider this example: ``` my $result; { my $form = MyApp::Form->new( .... ); $result = $form->run( params => $params ); } print $result->render(); ``` result: ```...
The documentation says that errors "Returns an array of localized error strings (both field and form errors)" yet it only seems to return field errors.