name,[default=''],[description=''][,error=''][,required=False][,requiredError='Please enter a value']) |
True
a value must be entered. A string ''
is not a valid value. If required=True
default cannot be ''
.
values) |
[value=None]) |
None
then the current value of the field if validated instead. Returns True
or False
.
) |
) |
) |
) |
error) |
) |
) |
name[,default=''][,description=''][,error=''][,required=False][,requiredError='Please enter a value'],[,size=40][,maxlength=None]) |
None
means there is no limit.
name[,default=''][,description=''][,error=''][,required=False][,requiredError='Please enter a value'],[,size=40][,maxlength=None]) |
None
means there is no limit.
name,[default=''],[description=''][,error=''][,required=False][,requiredError='Please enter a value']) |
name[,default=''][,description=''][,error=''][,required=False][,requiredError='Please enter a value']) |
'on'
or ''
name[,default=''][,description=''][,error=''][,required=False][,requiredError='Please enter a value']) |
name[,default=''][,description=''][,error=''][,required=False][,requiredError='Please enter a value']) |
name[,default=''][,description=''][,error=''][,required=False][,requiredError='Please enter a value'][,cols=None][,rows=None]) |
None
means not set.
None
means not set.
name[,default=''],[description=''][,error=''][,required=False][,requiredError='Please enter a value']) |
Note:
If a web.form.Form object has a web.form.field.basic.File field, the method parameter should be set to 'POST'
and the enctype should be set to 'multipart/form-data'
for file uploads to work.
name,options[,default=''][,description=''][,error=''][,required=False][,requiredError='Please choose an option']) |
[value, label]
pairs. Each value
or label
should be a string. Each value
should be unique.
value
of the default option.
name,options[,default=''][,description=''][,error=''][,required=False][,requiredError='Please choose an option'][,align='horiz'][,cols=4]) |
[value, label]
pairs. Each value
or label
should be a string. Each value
should be unique.
value
of the default option.
'horiz'
, 'vert'
or 'table'
name,options[,default=[]][,description=''][,error=''][,required=False][,requiredError='Please choose at least one option']) |
[value, label]
pairs. Each value
or label
should be a string. Each value
should be unique.
name,options[,default=[]][,description=''][,error=''][,required=False][,requiredError='Please choose at least one option'][,align='vert'][,cols=4]) |
[value, label]
pairs. Each value
or label
should be a string. Each value
should be unique.
'horiz'
, 'vert'
or 'table'