Try pulling the requires out of the field definition: db.auth_user_extended.barcode_id.requires=IS_NOT_IN_DB(db, 'auth_user_extended.barcode_id')
We also might need to see the controller code since working with 2 tables adds complexity.
Try pulling the requires out of the field definition: db.auth_user_extended.barcode_id.requires=IS_NOT_IN_DB(db, 'auth_user_extended.barcode_id')
We also might need to see the controller code since working with 2 tables adds complexity.