Howdy!
I was wondering how to insert reset button in drupal and include the button attributes
<?php
$form['clear'] = array (
'#name' => 'clear',
'#type' => 'button',
'#value' => t('Reset'),
'#attributes' => array('onclick' => 'this.form.reset(); return false;'),
); ?>
There… problem solved!!
This one really helps.
thank you pal, this really help and simple, like it