combo box inputs
Brought to you by:
jberanek
I have additional fields so each booking has an organiser, and email. Many of these are also users on the system, so creating a list of them is simple. It would therefore be useful if
1) my organiser input could be a dropdown input, but also with the ability to enter a new name
2) If the organiser is know, the email should automatically be pre-populated
Would these enhancements be practical, or too complex to be worth the effort?
(1) is relatively simple. You need to use the $datalist_options config setting. All that needs to be done is at the beginning of edit_entry.php to poplulate $datalist_options['entry.organiser'] with an array of users. MRBS will do the rest.
(2) is trickier. You'd have to use some JavaScript because you'll need to be able to change the email address if the organiser is changed.