You are here

function hide_submit_after_build in Hide submit button 7.2

After build form callback.

1 string reference to 'hide_submit_after_build'
hide_submit_form_alter in ./hide_submit.module
Implements hook_form_alter().

File

./hide_submit.module, line 116
This module blocks users from accidentally submitting a form twice. The protection only comes from jQuery and is not server side, so this is only effective against accidentally clicking of the button by users with Javascript enabled (which is a very…

Code

function hide_submit_after_build($form, &$form_state) {
  if (hide_submit_add_settings()) {
    hide_submit_attach_js_css($form);
  }
  return $form;
}