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 embed webforms into multiple places on a node. I had a weird issue that if I flush the cache and reload the page and submit the embedded form it doesn't submit any data. Instead it just refreshes the page.
I used to use 7.x-3.17 and it never gave me this issue.
Comment | File | Size | Author |
---|---|---|---|
#1 | webform-not-submitting-2537256-1.patch | 1000 bytes | albertski |
Comments
Comment #1
albertski CreditAttribution: albertski commentedI compared the latest code to the old code since I wasn't experiencing this issue before and I think we need to go back to having the action be to the node url instead of $node->webform['action'];. That fixed the issue for me.
Also another option is to use hook_form_alter() to alter the '#action'.
Comment #3
DanChadwick CreditAttribution: DanChadwick commentedThis branch receives critical fixes only. Perhaps your patch will help other users.