Editing Object ....

[% form.render %]
[% END -%]
It will render javascript which can be used with the AddElement field,
and setting the 'setup_for_js' flag in the Repeatable field to add
the ability to dynamically add a new repeatable element in a form.
Note: this code is provided as an example. You may need to write your
own javascript function if your situation is different.
Some of the extra information (level) in this function is in preparation for
handling nested repeatables, but it's not supported yet.
This function operates on HTML elements that have the id of the
repeatable element. That requires that the wrapper have the repeatable
instance ID (now rendered by default). If you don't have wrappers around
your repeatable elements, this won't work.
See L for an example of rendering
an HTML element that can be used to provide the AddElement button.
See that field for the requirements for the add HTML.
See L for an example of rendering
an HTML element that can be used to provide a 'remove' button.
See that field for the requirements for the remove HTML.
=head1 NAME
HTML::FormHandler::Render::RepeatableJs
=head1 AUTHOR
FormHandler Contributors - see HTML::FormHandler
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2013 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.
=cut