2017-05-18 17:50:56 +00:00
|
|
|
function validateForm( form ) {
|
2019-01-19 15:32:40 +00:00
|
|
|
return ( true );
|
2013-03-16 23:45:21 +00:00
|
|
|
}
|
|
|
|
|
2017-05-18 17:50:56 +00:00
|
|
|
function submitForm( form ) {
|
|
|
|
form.submit();
|
2013-03-16 23:45:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2017-05-18 17:50:56 +00:00
|
|
|
function limitRange( field, minValue, maxValue ) {
|
|
|
|
if ( parseInt(field.value) < parseInt(minValue) ) {
|
|
|
|
field.value = minValue;
|
|
|
|
} else if ( parseInt(field.value) > parseInt(maxValue) ) {
|
|
|
|
field.value = maxValue;
|
|
|
|
}
|
2013-03-16 23:45:21 +00:00
|
|
|
}
|
|
|
|
|
2017-05-18 17:50:56 +00:00
|
|
|
function initPage() {
|
2019-01-19 15:32:40 +00:00
|
|
|
return ( true );
|
2013-03-16 23:45:21 +00:00
|
|
|
}
|
|
|
|
|
2019-01-21 16:14:32 +00:00
|
|
|
window.addEventListener( 'DOMContentLoaded', initPage );
|