Skip to content

Instantly share code, notes, and snippets.

@gunnarbittersmann
Last active August 29, 2015 14:20
Show Gist options
  • Save gunnarbittersmann/6d96e8e47a6223409710 to your computer and use it in GitHub Desktop.
Save gunnarbittersmann/6d96e8e47a6223409710 to your computer and use it in GitHub Desktop.
customized validation error message
/**
* customized validation error message
*/
<form>
<label for="test">Test</label>
<select name="test" id="test" required title="Wählen Sie bitte einen Hersteller aus" x-moz-errormessage="Wählen Sie bitte einen Hersteller aus">
<option value="">-- Bitte wählen</option>
<option value="1">Test 1</option>
<option value="2">Test 2</option>
<option value="3">Test 3</option>
</select>
<button>Abschicken</button>
</form>
// alert('Hello world!');
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"html"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment