wiki:DeveloperGuidelines/FAQ

Version 2 (modified by Michael Howden, 10 years ago) ( diff )

--

Frequently Asked Questions (FAQ)

Select Element for Users

By: Robby O'Connor
Date: 2010-05-21

To have a field displayed as a select element which has the names of the users in the database:

<table>.<field>.requires = IS_NULL_OR(IS_IN_DB(db,db.auth_user.id,lambda id : shn_user_represent(db.auth_user.id)))

DeveloperGuidelines

Note: See TracWiki for help on using the wiki.