Jump to content
Larry Ullman's Book Forums

Chapter 5 Valid Email Address


patg
 Share

Recommended Posts

I haven't been able to make contact.html valid email address work.  When I enter a correct email address and comments, I get the message "Please enter a valid email address!".  The email address is correct. I get the same message with the chapter 5 course code files. I have tried using Firefox and Safari browsers. Suggestions?

  • Upvote 1
Link to comment
Share on other sites

I assume you're using contact.html and contact.js. I'd start by checking the console for an error message. Then I'd check the source code to make sure you haven't missed anything or misspelled anything. Then I'd make sure the JavaScript is being executed. Then I'd check that the variables are getting through to the JavaScript.

Link to comment
Share on other sites

 Share

×
×
  • Create New...