Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the HTML-FormHandler CPAN distribution.

Report information
The Basics
Id: 69329
Status: resolved
Priority: 0/
Queue: HTML-FormHandler

People
Owner: Nobody in particular
Requestors: stephen.thirlwall [...] strategicdata.com.au
Cc:
AdminCc:

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



Subject: $form->process( inactive => [...] ) - inactive fields still displayed
Hello, Attempting to dynamically deactivate fields with: $form->process( inactive => [...] ) still renders the inactive fields. The field has its _active flag set correctly, but HTML::FormHandler::Fields::sorted_fields seems to not be testing the inactive and _active fields correctly. I have a test case and a possible fix which I will submit shortly as a pull request. Version information: HTML-FormHandler-0.34001 This is perl 5, version 12, subversion 2 (v5.12.2) built for x86_64-linux-thread-multi Debian 6.0.2 Linux 2.6.32-4-pve #1 SMP Mon May 9 12:59:57 CEST 2011 x86_64 GNU/Linux
From: stephen.thirlwall [...] strategicdata.com.au
https://github.com/gshank/html-formhandler/pull/17 The above pull request contains a test case and a possible fix for this. Thanks, Stephen Thirlwall
Thanks for the fix. It's incorporated in the upcoming release.