Massimo,
After adding col3=dict() my form reads like:
def contact():
response.functionname=T('Contact')
response.image=URL(r=request,c='static',f='media/core/banner.png')
form=form_factory(SQLField('bedrijfsnaam'),\
SQLField('u_bent',label='U bent',requires=IS_IN_SET(['de
heer','mevrouw'])),\
SQLField('initialen',requires=IS_NOT_EMPTY()),\
SQLField('tussenvoegsel'),\
SQLField('naam',requires=IS_NOT_EMPTY()),\
SQLField('straat',requires=IS_NOT_EMPTY()),\
SQLField('huisnummer',requires=IS_NOT_EMPTY()),\
SQLField('postcode',requires=IS_NOT_EMPTY()),\
SQLField('plaats',requires=IS_NOT_EMPTY()),\
SQLField('e_mail',label='E-mail',requires=IS_NOT_EMPTY()),\
SQLField('telefoonnummer'),\
SQLField('uw_bericht',type='text',label='Uw
bericht',requires=IS_NOT_EMPTY()),col3=dict(field3='*',field5='*',\
field6='*',field7='*',field8='*',field9='*',field10='*',field12='*'))
if form.accepts(request.vars,session):
response.flash=T('')
elif form.errors:
response.flash=T('form has errors')
return dict(form=form)
Syntactically it is correct, exposing it doesn't result in an error,
but the '*' aren't displayed either.
Isn't it possible to add a third col in form_factory or is there
something else incorrect?
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 [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
-~----------~----~----~----~------~----~------~--~---