I have one custom form which contains "Confirm" and "Edit". Both are Drupal Submit button in that. When i click on "Confirm" in that page, it makes submit for "Edit" and go to edit page. So, i feel it disabled button not to submit but it execute first submit button(Edit) as it was left to the page/ rendered first.

Any idea how it should be fixed ? or any patch available. Otherwise it works quite fine with form which have one submit button.

Comments

takim created an issue. See original summary.

takim’s picture

Assigned: takim » Unassigned
NWOM’s picture

Title: It does not work perfectly if there is submit button » It does not work perfectly if there are multiple submit buttons
Version: 7.x-2.4 » 7.x-2.x-dev

I can confirm the same issue. When using multiple submit buttons (like Save & Edit) provided by the Content Type Extras module, the Hide Submit Button does not work and instead only refreshes the form.

NWOM’s picture

Title: It does not work perfectly if there are multiple submit buttons » It does not work if there are multiple submit buttons