[Html-widget] formfu - problem with submit button value
Carl Franks
fireartist at gmail.com
Mon Apr 2 08:39:00 GMT 2007
On 02/04/07, Mario Minati <mario.minati at googlemail.com> wrote:
> I am changing the value of a submit button with javascript to show the user
> that some data processing is going on.
>
> This changed value is transmitted during the post request.
>
> Now my problem.
> FormFu is useing this (changed) value and build's a form with a submit button
> that holds this text instead of the usual value 'Submit' or whatever I
> defined in the YAML config.
>
> Who can I change this behaviour? (retain_default:1 doesn't help)
Would it be acceptable to change the JS to do:
submit.disabled = "disabled";
rather than change the value?
Carl
More information about the Html-widget
mailing list