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've a bug with Drupal 8 and Poll module.
I've my poll on this url poll/33. When I click on "vote", the form's action is poll/33?destination=polls/ but that doesn't work... On /polls, all polls are listed.
Any ideas?
Comments
Comment #2
BerdirNot sure why the destination is like that, that's strange. But the destination should only be a fallback. Poll forms should always use AJAX for the submission and you should never leave the current page. The destination is only there in case something goes wrong.
Make sure you have no JS errors on your page that are breaking things.
Comment #3
BerdirComment #4
Jjjj1258 CreditAttribution: Jjjj1258 commentedHello Berdir,
thank, the problem was an simple JS error ^^
:)
Comment #5
ivnish CreditAttribution: ivnish commented