Regards$field->add( 'groupname',
__('Select group: '),
array( 'type' => 'select',
'options' => "$groupname",
'value' => "$groupId",
'class' => "form-control"
),
array(
array('valid_string',
array( 'alpha',
'numeric',
'dots',
'spaces'
)
)
)
);
It looks like you're new here. If you want to get involved, click one of these buttons!