是否有解决方案将 id 添加到默认的 drupal 错误列表项?
目前我得到了这个:
<div class="messages error" id="inline-messages">
<ul>
<li>Name is required.</li>
<li>Email is required.</li>
<li>Message is required.</li>
</ul>
</div>
但我想将字段名作为 id:
<div class="messages error" id="inline-messages">
<ul>
<li id="form-field-name">Name is required.</li>
<li id="form-field-email">Email is required.</li>
<li id="form-field-message">Message is required.</li>
</ul>
</div>
正在使用的插件:http://drupal.org/project/inline_messages
有什么建议么?