Using hook_form_alter() only on loading I am using hook_form_alter() in  Drupal 6, which successfully works. As for now, when I submit the form, it again runs the same hook. I want to run it only on load and edit. 

Do you have any idea on how I do this?
Use the following code for the load operation of existing forms

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

  if(empty($form_state['post'])) {
    //do you load operation
  }

}