I've added MX Select Plus CE in a Matrix row. The objective is when the user is digitizing inside the select options, appears "on the fly" the "title" of theses entries of a specific channel.
I chose a SQL query:
SELECT title FROM exp_channel_titles WHERE channel_id = '2'
Inside these {exp:query} fields, appears all the titles of the entries.
{exp:query sql="SELECT title FROM exp_channel_titles WHERE channel_id = '2'"}
{title}
{/exp:query}
So inside the MX Select Plus CE - DB REQUEST field, I inserted the SQL Query:
SELECT title FROM exp_channel_titles WHERE channel_id = '2'
But in the Channel Entries Edit page, appears error messages:
Message: Undefined index: option_name
Message: Undefined index: option_label
Inside the DB REQUEST field, what are the parameters for option_name and option_label. Does my SQL Query is correct ?
Does someone have a simple example about to show the titles of channel or other parameters and the option_name and option_label parameters?