Because the code is embedded in the view. Therefore it is executed after 
the flash is rendered.

On Wednesday, 29 August 2012 17:08:09 UTC-5, qwer qwer wrote:
>
> {{form=FORM('Your comment:',INPUT(_comment='_comment', 
> requires=IS_NOT_EMPTY()),
>           INPUT(_type='submit'))
> if form.accepts(request,session): response.flash = 'Your information has 
> been sent successfully'}}
> {{=form}}
>
>
> i wrote this in default/index . it displays a form ,but when submitted 
> does n't flash why??(I'm a new user.--may be the dbt is very silly) :)
>  
> I want a html form attribute name accessible to python.how...thanks.
>

-- 



Reply via email to