How can I get this hide submit module to work with the custom module I wrote? I have a form and I want hide submit to hide or disable the module

Comments

greggles’s picture

Status: Active » Postponed (maintainer needs more info)

Can you clarify what your custom module is trying to do and how it's not integrating right now?

earwax’s picture

It's just using the Form API. Typical 'type' => 'submit' in hook_form. I hit submit and the button can still be clicked. It's just doing some SQL searches after the user hits submit.

greggles’s picture

So, you have a form with a submit button and the hide_submit module isn't properly hiding the submit button for that form. Is that the essence of the situation? I'm not really sure why it wouldn't work. I have a few custom forms that it's working with.

earwax’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

You know, in a strange way it is working, but it is not dimming my submit button. So visually it looks like it is still active, but when I click on it, it is disabled. Is this a theming or CSS issue?

greggles’s picture

Yes, that is a theming issue probably. I have the same "problem" on the form where I use this module. I've just accepted it since my main goal is taken care of (the button can't be submitted twice...).

greggles’s picture

Issue summary: View changes

added more information