Skip to content

Commit 0affe17

Browse files
committed
Added option for scrolling window to the top on error, changed the design
1 parent d8df34e commit 0affe17

File tree

2 files changed

+185
-190
lines changed

2 files changed

+185
-190
lines changed

example.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ <h2>Example of all features</h2>
131131
</p>
132132
<p>
133133
<strong>These features applies to select lists as well</strong>
134+
<br />
134135
<select name="whatever" data-validation="required">
135136
<option value="">- - Select something - -</option>
136137
<option value="1">Green</option>
@@ -153,7 +154,7 @@ <h2>Example of all features</h2>
153154
<input type="submit" value="Validate form"/>
154155
</p>
155156
</form>
156-
</div class="section">
157+
</div>
157158

158159
<h2>
159160
Customized example (no border color on error, different position on error messages)
@@ -213,6 +214,6 @@ <h2>
213214

214215
</script>
215216

216-
</div class="section">
217+
</div>
217218
</body>
218219
</html>

0 commit comments

Comments
 (0)