<form><p><label>
This field will show the global message:
<inputtype="text"name="foo"required></label></p><p><label>
This field will show a customized message via script:
<inputtype="text"name="bar"requiredid="customize_me"></label></p><p><label>
This field will show a customized message via
<code>data</code> attribute:
<inputtype="text"name="baz"requireddata-value-missing="Oh noes! You forgot to fill in this very specific field!"></label></p><p><button>go</button></p></form><script>hyperform.addTranslation('x-klingon',{ValueMissing:'DubelmoHchugh chaw’nIS yotlh.',});hyperform.setLanguage('x-klingon');hyperform.setMessage(document.getElementById('customize_me'),'valueMissing','A haiku: A form element; Forgotten by the user; The element complains.');hyperform(window);</script>