Is there a way to format the text in HTML5 setCustomValidity?

Viewed 135

I'm implementing OWASP password requirements and I was hoping to use setCustomValidity on the password HTML Input element. However, the password requirements involve a lot of complicated steps that I will need to make the user aware of.

Is there any way to apply formatting, or even newlines, to the text that appears in setCustomValidity?

0 Answers
Related