On Monday, June 23, 2014 5:50:26 AM UTC-7, madd...@googlemail.com wrote:
>
> [...]
> where I need the combination of topic and teacher to be unique so one 
> person can register as a teacher for a certain topic only one time.
>
> Skill and description are filled in using SQLFORM and topic and teacher 
> using
> form.vars.topic = topic_id #(from request.args)
> form.vars.teacher = teacher_id #(from auth.user.id)
>
>

Most discussion of multiple validators tend to mention IS_IN_DB or 
IS_IN_SET.  Perhaps this message will help you find what you're looking for:
<https://groups.google.com/d/msg/web2py/5I88iOrAvG8/tMA_ef9MbsgJ>


-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to