SQLFORM tables an argument called col3 col3 is a dictionary of comments. So you can do:
SQLFORM(...,col3=dict(field1='*',field4='*')) Massimo On 22 Apr, 09:17, Pynthon <forumx...@gmail.com> wrote: > You mean somehting like a "*" for this is required? I've not tried > WebPy but maybe in your views? > > On 22 apr, 16:05, annet <jmverm...@xs4all.nl> wrote: > > > I wonder whether it is possible in SQLFORM to mark the fields that are > > required with an asterisk. Now the visitor finds out whether a field > > is allowed to be empty after validation, which is a bit awkward. > > > Furthermore, I wonder whether it is possible to add a reset and a > > cancel button to my forms, and if so, how do I code the buttons? > > > Best regards, > > > Annet. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---