How to enable Submit Button after filling out the required fields?
check out #states visible #states invisible in drupal.

http://api.drupal.org/api/examples/form_example!form_example_states.inc/function/form_example_states_form/7

http://api.drupal.org/api/drupal/includes!common.inc/function/drupal_process_states/7