Load select box in my editor popup dynamically from database
Load select box in my editor popup dynamically from database
itxuser
Posts: 18Questions: 5Answers: 0
I want to load the options in my select box on the editor popup from the database. I do not have any joins in my sql. What is best way to do this. Do not want to hard code the option values. Thanks!
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Two options:
options
parameter as described here.update()
method of theselect
field type to set the options.Allan
Do you have an example? I am just not seeing how to do this at the moment...
Which method do you want to use? Populate from the server, or from the client?
Allan
nevermind, much easier than I thought. Thanks!
I used the server to populate it. Very easy.