Acc.!!
It works fine, but form.accets(request.vars) returns always False.
I have a button type=submit with an image before {{=form.custom.end}}.
I suppose this could be an error and Ihave substitute it with
{{=form.custom.submit}} with no result.
I have difficult to find solutions using your manual, but it is my
problem.


On 6 Ott, 19:58, mdipierro <[email protected]> wrote:
> It is automatic. You just need
>
> Field('name',requires=IS_IN_SET(('a','b','c')))
>
> or requires IS_IN_DB
>
> On Oct 6, 11:32 am, leone <[email protected]> wrote:
>
>
>
> > How can I render a <select> <option> sequence by Field in
> > SQLFORM.factory?
> > Thanks!
>
> > On 6 Ott, 17:14, mdipierro <[email protected]> wrote:
>
> > > yes
>
> > > form=SQLFORM.factory(Field('x'),Field('y'))
>
> > > <HTML>
> > > ......
> > >  {{=form.custom.begin}}
> > >  {{=form.custom.widget.x}}
> > >  {{=form.custom.widget.y}}
> > >  {{=form.custom.submit}}
> > >  {{=form.custom.end}}
> > >   ......
> > >  </HTML>
>
> > > On Oct 6, 9:51 am, leone <[email protected]> wrote:
>
> > > > I want use FORM object and helpers objects, but I need complete
> > > > control over html code.
> > > > Exists a factory method as in SQLFORM, so I can code
> > > > <HTML>
> > > > ......
> > > >  {{=form.begin}}
> > > >  {{=form.widget.x}}
> > > >  {{=form.widget.y}}
> > > >  {{=form.submit}}
> > > >  {{=form.end}}
> > > >   ......
> > > >  </HTML>
> > > > ???
> > > > If not, exist an alternative way to obtain the advantages of web2py
> > > > and html flexibility?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to