In a custom registration function I have the following form:

form=SQLFORM.factory(db.auth_user,ignore_rw=True)

for administrative reasons I want to extend the form with the
following fields:

Field('comment',type='text')
Field('mail',type='boolean',default=False)

The fields aren't stored in the auth_user table, when mail is True the
register function will, after the registration process was successful
redirect to a mail function in order for the administrator to reply to
the comment.

How do I extend the form this way.


Kind regards,

Annet.

Reply via email to