Skip Menu |

This queue is for tickets about the Data-FormValidator CPAN distribution.

Maintainer(s)' notes

This is the bug queue for Data::FormValidator.

Report information
The Basics
Id: 25165
Status: stalled
Priority: 0/
Queue: Data-FormValidator

People
Owner: MARKSTOS [...] cpan.org
Requestors: WMCKEE [...] cpan.org
Cc:
AdminCc:

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



Subject: Accessor for __INPUT_DATA in DFV::Results
Hi Mark, The DFV::Results object contains a __INPUT_DATA hashref which has all the submitted form data. I'm trying to build a friendly warning for my Apache error_log that contains the submitted values. I can get at these values through __INPUT_DATA but would like to have an official accessor instead of poking around in the internals of the object. Thanks, William
On Mon Feb 26 23:05:47 2007, WMCKEE wrote: Show quoted text
> Hi Mark, > > The DFV::Results object contains a __INPUT_DATA hashref which has all > the submitted form data. I'm trying to build a friendly warning for my > Apache error_log that contains the submitted values. I can get at these > values through __INPUT_DATA but would like to have an official accessor > instead of poking around in the internals of the object.
William, I believe get_input_data() is already present and works for this. It is pitched as something to use inside a custom constraint (which is which it's documented in DFV::Constraints), but it is just a method on the result object. Mark