I am creating one plugin and stuck on creating dropdown selection.
Here is my code
$fields = array(
'label' => 'Select Optons',
'tags' => 'NAME="colors" title="select your color"',
'type' => 'select',
'options' => array('color1' => 'color1','color2' => 'color2'),
'value' => qa_opt('colors'),
I know I must wrong somwhere but don't know where. It is displaying selection list but not storing into database.
Any idea how to insert the value into database and keep selected stored value