Form::Sensible::Field::SubForm - encapsulate an entire form within another.
use Form::Sensible::Field::SubForm; my $object = Form::Sensible::Field::SubForm->new( form => $otherform ); $object->do_stuff();
The subform Field type allows you to embed one form within another. The fields in the subform are submitted and validated as though they belong to the primary form, meaning the fieldnames are used 'as is.' Please note that this feature is experimental at best and how it is used is still subject to change.
form
The sub-form to include into this field.
get_additional_configuration($template_only)
Returns the name and content of the attributes for this field in a hash ref.
BUILDARGS(%params|$params)
See Moose::Object. Calls other BUILDARGS in the inheritance hiearchy after first seeing if there is a farm that has been passed in and needs to be created for the object to be instantiated.
BUILDARGS
BUILD
Sets the render_hints for this field to 'subform'.
render_hints
Jay Kuri - <jayk@cpan.org>
Ionzero LLC. http://ionzero.com/
Form::Sensible
Copyright 2009 by Jay Kuri <jayk@cpan.org>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Form::Sensible, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Form::Sensible
CPAN shell
perl -MCPAN -e shell install Form::Sensible
For more information on module installation, please visit the detailed CPAN module installation guide.