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.

CommentFileSizeAuthor
contrib-5.masquerade.formid.junyor.patch546 bytesJunyor
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Gurpartap Singh’s picture

Status: Active » Fixed

Fixed! Thanks!!

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.