added decimal to function validate_form