If a user does not check the checkbox, they get an ugly validation message which may include HTML, for example
I agree to the <a href="/node/52213" hreflang="en">Terms and Conditions</a>. field is required.

Since HTML input with links is such a normal thing, it might be possible to use the fieldset name in the validation message instead of using the checkbox title.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

rfay created an issue. See original summary.

rfay’s picture

Status: Active » Needs review
FileSize
1.87 KB

Patch attached.

rfay’s picture

Minor improvements.

ivnish’s picture

Status: Needs review » Postponed (maintainer needs more info)

Hi rfay!

How to reproduce this? What theme do you use?

ivnish’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)
darrenwh’s picture

I've seen a similar issue, even though its not to DCS I found parsing the token using the translate function stopped the html showing.

ivnish’s picture

Status: Closed (cannot reproduce) » Needs review