Project

General

Profile

Actions

Feature proposal #4103

closed

Upgrade to include additional query type fields

Added by krileon over 11 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
09 July 2013
Due date:
% Done:

100%

Estimated time:

Description

Update to include the following query powered fieldtypes.

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.

Actions

Also available in: Atom PDF