[html-formfu] refresh of the form

rahed raherh at gmail.com
Fri Mar 12 11:34:41 GMT 2010


Carl Franks <fireartist at gmail.com> writes:

> On 10 March 2010 10:07, rahed <raherh at gmail.com> wrote:
> I don't know why the behaviour is changing when you switch to FormFu -
> are there any noticable differences in the outputted HTML?

Well, the FormBuilder uses a hidden form field _submitted which is
processed in the source.
I had to distinguish in my application code three conditions -
submitted, refresh and others.

>
> I believe your
>     form.get_field('submit').value = 'Submit'
> should be
>     form.get_field('submit').default = 'Submit'

Shouldn't they be aliases?

-- 
Radek



More information about the HTML-FormFu mailing list