By rockwright on
I’m looking for a way I can change a command button to a link that will yield the same functionality upon user click. I’m wishing to do this only for cosmetic purposes and this is the code I currently have:
$form_group['username_check_button'] = array(
'#type' => 'button',
'#button_type' => 'button',
'#value' => t('Check username'),
'#prefix' => '
',
'#weight' => -4,