Q:

Issue in saving the dropdown list in magento admin

I had created the dropdown list in magento admin.But i am not getting how to save the dropdown list.I have added the dropdown list in below files.Please any one can Help me.

A:

Try this. i see issue in your select box name it should be "bloodgroup" as per your code in controller for save
$fieldset->addField("Bloodgroup", "select", array(
                "label"     => Mage::helper("serviceprovider")->__("Bloodgroup"),
                "name"      => "bloodgroup", 
                "values"    => array(
                  '-1'=> array( 'label' => 'Please Select....', 'value' => '-1'),
                  '1' => array(
                           'value'=> array(array('value'=>'2' , 'label' => 'A') , array('value'=>'3' , 'label' =>'AB'), array('value'=>'4' , 'label' => 'AB+') , array('value'=>'5' , 'label' =>'AB-'), array('value'=>'6' , 'label' => 'A+') , array('value'=>'7' , 'label' =>'B+') , array('value'=>'8' , 'label' => 'O+ ') , array('value'=>'9' , 'label' =>'O-')),

                         ), 
                ), 
                ));

