Hello!

I have a extra fields added to db.auth_user like the following:

auth = Auth(db)
auth.settings.extra_fields['auth_user'] = [
    Field('nickname'),
    Field('type_id', db.account_type, label='Account Type')]
auth.define_tables()

Now it shows and works like its suppose to but I have a validator:

db.auth_user.nickname.requires = IS_NOT_IN_DB(db, 'auth_user.nickname')

And it's not validating "nickname" at account registration.

What should I do? I can't have any duplications on the nickname field.

Regards

-- 



Reply via email to