Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

34 lines (28 sloc) 0.776 kB
.validation-advice {
color: red;
padding: 10px 0px;
input {
margin: 5px 0px;
<p>When you focus and then blur the input below, if you leave it empty you should see an error. If you try and submit it without entering a value, you should see an error.</p>
<form id="foo2">
<dt>this cannot be empty</dt>
<dd><input name="a" class="required"></dd>
<input type="submit">
<script src="/depender/build?require=More/Form.Validator.Inline,More/Fx.Reveal,More/Fx.Scroll"></script>
<script type="text/javascript">
new Form.Validator.Inline('foo2', {
serial: false,
onFormValidate: function(passed, form, event){
if (passed) alert('form validated');
else alert('form did NOT validate');
Jump to Line
Something went wrong with that request. Please try again.