[web2py] Validating list:string fields

2014-01-08 Thread curly
Hello, I'm trying to validate a list:string field with is_alphanumeric and is_length - trying to ensure that names are no longer than 6 alphanumeric characters in length. (I'm running web2py 2.8.1 in ubuntu 12.04) view: liSample name *: {{=form.custom.widget.sample_name}}/li controller:

[web2py] Customization of the SQLFORM in html

2013-12-13 Thread curly
Hello! I'm new to web2py and have just started running web2py 2.8.1 in ubuntu 12.04. I am trying to customize the style of SQLFORM in web2py views. Tried to do this using SQLFORM in HTML. What I have is:- model: db.define_table( register, Field('pi_id',db.pi),