[Html-widget] formfu - problem with submit button value

Mario Minati mario.minati at googlemail.com
Mon Apr 2 11:35:41 GMT 2007


Am Montag 02 April 2007 09:39 schrieb Carl Franks:
> 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?

It wouldn't change the functionality of the program.
Actually I'm useing it to tell the user that the data is being processed.
But I'll take it to think of a more generic way of informing the user about 
the ongoing actions.

Greets,
Mario



More information about the Html-widget mailing list