[html-formfu] Losing default value on update

Charlie Garrison garrison at zeta.org.au
Tue Feb 8 00:28:46 GMT 2011


Good morning,

On 20/10/10 at 10:06 PM +0100, Carl Franks 
<fireartist at gmail.com> wrote:

>On 15 October 2010 11:23, Charlie Garrison <garrison at zeta.org.au> wrote:
>> To simplify this issue, is there a 'correct' way to display a
>> static/read-only value (eg. Label element) which is retained after
>> submitting a form?
>
>It turned out that the "delete_nested_hash_value" error was a bug - it
>should actually have been trying to call the method named
>"delete_nested_hash_value".
>However, that still wouldn't have fixed things for you, because the
>Label element was deliberately deleting the submitted value, as a
>security precaution, because the Label element doesn't want someone
>submitting values for what's not really a form field.
>So I've now added a check - and if there's another field on the form
>with the same name as the Label element, the submitted value won't be
>deleted - so it should now work for you using a Hidden field with the
>same name as the Label element.
>The fix is in svn, and will be included in the next cpan release.

Has there been any progress with a new cpan release of HTML::FF? 
I'm still not able to install the git version due to the error 
of not being able to install MooseX-ChainedAccessors.

I seem to recall a new version of MooseX-ChainedAccessors was 
coming soon, but I can only see 0.01 on cpan.

Thanks,
Charlie

-- 
    Ꮚ Charlie Garrison ♊ <garrison at zeta.org.au>

O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
〠  http://www.ietf.org/rfc/rfc1855.txt



More information about the HTML-FormFu mailing list