Feature proposal #4103
Updated by krileon over 11 years ago
Update to include the following query powered fieldtypes.
Query Checkbox (Single)
Query Checkbox (Multiple)
Query Dropdown (Single Select)
Query Dropdown (Multi-Select)
Query Radio Buttons
The purpose of the above is to populate their options with the results of a database query. So for example if you use "Query Dropdown (Single Select)" and query the _users table you could have a field that allows you to select a user by their username.
Each fieldtype should allow you to specify what column is for the value and what column is for the text. Text should pass through translations. If only 1 column is found then it should be used for text and value.
Ensure there is deep error handling to avoid it from killing an install. The original query field should also have deep error handling implemented as well as fatal query errors can lock out profile edit, etc..
Core fields ajax will probably need to be upgraded to support these new types.