It checks the value and if it is invalid, uses the HTML5 setCustomValidity() function on that input to set a message and prevent the form from submitting.
確定! 回上一頁