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.
The HTML output for the masquerade block includes the following:
<form action="/page/url" method="post" id="-masquerade-block-1-form">
In XHTML, the id attribute may not start with a "-". The forms API bases the form id off of the function used to build the form, _masquerade_block_1. You can add an #id value to the form to fix this problem, as I have in the attached patch.
Comment | File | Size | Author |
---|---|---|---|
contrib-5.masquerade.formid.junyor.patch | 546 bytes | Junyor | |
Comments
Comment #1
Gurpartap Singh CreditAttribution: Gurpartap Singh commentedFixed! Thanks!!
Comment #2
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.