Commit 58536d2c authored by Martin Lehoux's avatar Martin Lehoux

add email validation

parent 4e759490
......@@ -169,6 +169,7 @@
$('#teacher-form').form({
fields: {
lastName : 'empty',
email: ['empty', 'email'],
}
});
</script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment