s2cuts has asked for the wisdom of the Perl Monks concerning the following question:
I'm trying to read the value of a form element from within a Catalyst controller. This is being performed after the form has been submitted and validated.
This seems to work to locate the desired element.
But the following doesn't work to get the value of the element out.my $this_element = $form->get_all_element({name => 'element_name'});
Any help would be greatly appreciated.my $element_value = $this_element->value;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: HTML::FormFu, reading value of an element from controller...
by Anonymous Monk on Jul 14, 2012 at 08:46 UTC | |
by s2cuts (Acolyte) on Jul 14, 2012 at 13:54 UTC | |
by Anonymous Monk on Jul 16, 2012 at 06:40 UTC | |
|
Re: HTML::FormFu, reading value of an element from controller...
by Anonymous Monk on Jul 16, 2012 at 21:26 UTC | |
by Anonymous Monk on Jul 17, 2012 at 00:44 UTC |