Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #2
takim CreditAttribution: takim commentedComment #3
NWOM CreditAttribution: NWOM commentedI 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.
Comment #4
NWOM CreditAttribution: NWOM commented