In my database design I put the Addresses in a separate table. In the 
Address table I have a field aType with an IS_IN_SET validator for the 
types of addresses in the domain.

IS_IN_SET([(1,'Permanent'),(2,'Current')],zero='select a value')

I use SQLFORM.factory to create a custom form, but there might be another 
solution to solve the form problem.


Regards,

Annet

Reply via email to