dcsimg
www.webdeveloper.com
Results 1 to 2 of 2

Thread: Javascript validation for php page

  1. #1
    Join Date
    Mar 2013
    Location
    Winnipeg, Canada
    Posts
    12

    Javascript validation for php page

    I have a form that I have to upload to a mysql database. I need to use javascript to verity a name field and a email field before I can upload to the database. How am I able to do that?

  2. #2
    Join Date
    Dec 2012
    Location
    NSW Australia
    Posts
    73
    this seems to be related to your later request and the answer is the same as that one.

    One extra thing: Please do not rely on JavaScript for validation of a web form, especially if you are going to put the data into a database. JavaScript can help/aid a user to enter good data BUT never be the final validation. That will be done once it hits the server...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles