Topnew Form helper generates html form, with data validation. It also generates SQL based on input values. Let's start with an example:
'
cols.name.acs = 'R' // this field is read only for all user
cols.form.global.role = 'Admin' // role for current session user, used for acs
cols.email.acs = ['All' => 'R', 'Admin' => 'W'] // Admin can write else read only
cols.name.clean = 'int' // this field is int for data validation
cols.name.box_ = 'html attribute or style for row'
cols.name.label_ = 'html attribute or style for label'
cols.name.defa = 'Please select' // default select option for