In a web based form I am able to make sure that there is text in an input field but I want to force the user into inputting a valid email
address, one that has @ in the address
How can I modify this JavaScript below to enable this ?
if (document.form1 .EMAIL.value == ""){
alert("Please complete the E-Mail: field")
document.form1. EMAIL.focus()
validFlag = false
return validFlag
}
Kindest Regards - Philip Amey
address, one that has @ in the address
How can I modify this JavaScript below to enable this ?
if (document.form1 .EMAIL.value == ""){
alert("Please complete the E-Mail: field")
document.form1. EMAIL.focus()
validFlag = false
return validFlag
}
Kindest Regards - Philip Amey
Comment