function validateForm() {
	return (validateField('SB_Validator.notEmpty', 'messagesPerPage', 'EMPTY-MESSAGES-PER-PAGE')
		&& validateField('SB_Validator.isInt', 'messagesPerPage', 'NOT-INT-MESSAGES-PER-PAGE')
		&& extendedValidateField("SB_Validator.isGreaterThan(document.getElementById('messagesPerPage').value, 0)", 'messagesPerPage', 'NOT-INT-MESSAGES-PER-PAGE')		
		&& validateField('SB_Validator.notEmpty', 'commentsPerPage', 'EMPTY-COMMENTS-PER-PAGE')
		&& validateField('SB_Validator.isInt', 'commentsPerPage', 'NOT-INT-COMMENTS-PER-PAGE')
		&& extendedValidateField("SB_Validator.isGreaterThan(document.getElementById('commentsPerPage').value, 0)", 'commentsPerPage', 'NOT-INT-COMMENTS-PER-PAGE')		
	);
}