thank you for suggestions but..

Fran: agree maybe is not good MVC having requires in a view, but what
about having forms in the controller/model ? Do you think that good
MVC? Personally I hate throwing html (even helpers) in a controller.
But I know this is an old debate..

DenesL: I thought there was a custom way (somewhere in the manual) to
get your forms in views just setting a form=FORM() in the controller
without passing it to the view so preserving the chance to validate
inputs. I think I misunderstood that point but I do not grasp then the
point to get the form=FORM() statement in the controller..

maybe you can clarify this point?

carlo

On 17 Giu, 15:41, DenesL <denes1...@yahoo.ca> wrote:
> carlo,
> the INPUT in the view is not part of the form, the form has no fields.
> When form.accepts runs it does not have any field to check against
> request.vars .
>
> You will have to stick to Fran's suggestion.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to