Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Form Validation, need some advice

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #36819
    alexemorris
    Participant

    Almost done finishing a website for a friend of a friend. The URL is http://www.chtowingservices.com

    What is the most simple and elegant way of going about making my contact form function. I did have formmail.php set up, but the validation made the form way too confusing for what its worth. All I want it to do it maybe turn the ‘(this field is required)’ part of the label red if a user skips the field out? Then obviously I need it to actually submit. I have tried following/applying a tutorial, but every time I pressed submit the page would just refresh as opposed to validating the form. As I have my form all styled, there must be an easy way using JQuery etc?

    If you have any other tips/advice/feedback I would be really grateful as this is my first project so I am trying to make it as refined as possible to use on my portfolio

    Thanks
    Alex

Viewing 1 post (of 1 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.