Support » Plugin: DB Toolkit » [Plugin: DB Toolkit] Create a dropdown list and colour picker

  • Dear David,

    First of all congratulations on such a great plug-in – you give wordpress a different meaning not only as a blogging but also as a web application framework (similar than to evarisk), I am impressed and “Local is lekker!”

    Something else – if you create a Boolean (enum) in your database how can you create it as one of either yes or no (radio button) or a a dropdown list e.g additional fields e.g province – with the 9 provinces in the list – can this db toolkit create such a feature. I think your plug-in have the capability to do that as well – I just want to know how.

    Keep up the good work!

    Thank you.

    Kind regards,


Viewing 1 replies (of 1 total)
  • Plugin Author David Cramer


    Hey, thanks for the great comments.

    now on to your question:
    the enum fieldtype sets the field to a dropdown of all possible values. I could possibly create an option to have it as a dropdown or a radio group, that’s not a bad idea.

    you could also create a new table called provinces and then create a joined field to that table, that will result in a dropdown or radio group of all the values available from the joined table. take a look at linking on my tutorial site

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: DB Toolkit] Create a dropdown list and colour picker’ is closed to new replies.