Skip Menu |

This queue is for tickets about the CGI-FormBuilder CPAN distribution.

Report information
The Basics
Id: 41555
Status: resolved
Priority: 0/
Queue: CGI-FormBuilder

Owner: Nobody in particular
Requestors: ZIMAGE [...]

Bug Information
Severity: Normal
Broken in: 3.0501
Fixed in: (no value)

Subject: Allow template toolkit to easily access fieldsets.
Download (untitled) / with headers
text/plain 534b
The only way to access the fieldsets when using Template Toolkit is to walk the raw _form object. Most other form attributes are much easier to access. I have attached a patch that allows the user to access the fieldsets in the same way they would the fields, i.e. via an array, fieldsets, or via a hash, fieldset. [% FOREACH fieldset = formbuilder.fieldsets %] <fieldset> <legend>[% fieldset.label %]</legend> do stuff. </fieldset> [% END %] or for a fieldset named 'general_info' [% formbuilder.fieldset.general_info.label %]
Subject: patch
Download patch
application/octet-stream 764b

Message body not shown because it is not plain text.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to