Jump to content
Larry Ullman's Book Forums

Chapter 5 Valid Email Address


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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...