Given a form, how do I find the fields present in them?
go to your template "template.php for example" or your module, and use

hook_form_alter(&amp;$form, &amp;$form_state, $form_id){
  var_dump($form);exit();
}

and you will get very detailed look at your form