wiki:DeveloperGuidelines/FAQ

Version 1 (modified by Michael Howden, 12 years ago) ( diff )

--

DeveloperGuidelines

Frequently Asked Questions

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.