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.
when formblocks are used on a different page than the form page, the form action is not changed to the form page.
Comment | File | Size | Author |
---|---|---|---|
#1 | 1902634-formblock-action-2.patch | 595 bytes | plonk |
Comments
Comment #1
plonk CreditAttribution: plonk commentedfixed for node/add . Did not try the other forms.
Comment #2
mikey_p CreditAttribution: mikey_p commentedThis is the correct behavior. Drupal forms do not require a specific URL. Instead the code that generates the form detects a submission to the page that it was initial displayed on, and launches the form handlers from there.
Comment #3
plonk CreditAttribution: plonk commentedwhy? I had a case where it was necessary to adjust where I was using a node/edit form in a block in a panel.
Comment #4
plonk CreditAttribution: plonk commentedwhy? I had a case where it was necessary to adjust where I was using a node/edit form in a block in a panel.