Re: [web2py] Problem: SQLFORM.grid and setting a value for a field when a new dataset is created

2013-01-21 Thread Johann Spies
On 18 January 2013 15:05, Sverre wrote: > I have a contact table that includes our employees too. To make a > difference I have a cclass field to make the difference. When I want to > create an employee the user should not have a choice to set the cclass > field, but when he is creating a custome

[web2py] Problem: SQLFORM.grid and setting a value for a field when a new dataset is created

2013-01-18 Thread Sverre
I have a contact table that includes our employees too. To make a difference I have a cclass field to make the difference. When I want to create an employee the user should not have a choice to set the cclass field, but when he is creating a customer or supplier. So I tried in SQLFORM.grid the