When experimenting with Form::Diva, I have a constant need to have info about which field on output is which. Since generated structure has only HTML data there isn't an easy way to check it. What I ended up doing is placing all my input on the comment attribute for a single field:
it requires additional processing of input - not a built in solution
I'm not sure that's what comment attribute is for. I'm abusing the fact that it is copied over in code without any change
I'd like to see something in the output hashref for a field that could enable me to identify the field. Field name at the very least, or maybe just a copy of the reference the way I did.
When experimenting with Form::Diva, I have a constant need to have info about which field on output is which. Since generated structure has only HTML data there isn't an easy way to check it. What I ended up doing is placing all my input on the
comment
attribute for a single field:That works, but:
comment
attribute is for. I'm abusing the fact that it is copied over in code without any changeI'd like to see something in the output hashref for a field that could enable me to identify the field. Field name at the very least, or maybe just a copy of the reference the way I did.