24 lines
575 B
JavaScript
24 lines
575 B
JavaScript
|
$(function() {
|
||
|
$('.ui.calendar').calendar({
|
||
|
type : 'date',
|
||
|
firstDayOfWeek: 1,
|
||
|
initialDate : '01.01.1990',
|
||
|
startMode : 'year'
|
||
|
});
|
||
|
|
||
|
$('.ui.form').form({
|
||
|
fields: {
|
||
|
'user-email': 'email',
|
||
|
match: {
|
||
|
identifier : 'user-password-repeat',
|
||
|
rules: [
|
||
|
{
|
||
|
type : 'match[user-password]',
|
||
|
prompt : 'Password must match.'
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
}
|
||
|
});
|
||
|
});
|