Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 906193
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T16:20:51+00:00 2026-05-15T16:20:51+00:00

I am using livevalidation script on my contact form.But i dont know what is

  • 0

I am using livevalidation script on my contact form.But i dont know what is the problem whenever i click submitt or send button.
It just only checks the dropdown selection and other fields go empty and form is validated. I checked every example on livevalidation site but no help. Mine is not working….
It dont check the presense function in all my fields……..I dont know what to do

You can check my contact page online here.link text

If you need code then i am pasting it here toooooo……..

Code for form is here

 <div class="subFillC">
        <form id="form1" action="contactengine.php" method="post" name="form1">
          <p><label for="name">Name</label> <input type="text" name="name" id="Name" size=
          "30" /> </p>

          <p><label for="email">Email</label> <input type="text" name="email" id="Email" size=
          "30" /></p>

          <p><label for="web">Select Option</label> <select name="service" id="service">
            <option value="None" selected="selected">
              None
            </option>

            <option value="Website Design">
              Website Design
            </option>

            <option value="Website Redesign">
              Website Redesign
            </option>

            <option value="Logo/Corporate Design">
              Logo Design/Corporate Design
            </option>

            <option value="Other">
              Other
            </option>
          </select></p>

          <p><label for="email">What is <img src="images/cap.jpg" width="50" height=
          "15" /></label> <input type="text" name="cap" id="cap" size="30" /></p>

          <p><label for="message">Message</label>
          <textarea id="Messagefield" name="message" cols="30" rows="10"></textarea>

Send

And in the end i have script just after the form tag
which is below

new LiveValidation(‘Name’, { wait: 500 }).add(Validate.Presence);new LiveValidation(‘Email’, { wait: 500 }).add(Validate.Email);
new LiveValidation(‘Messagefield’, { wait: 500 }).add(Validate.Presence);var service = new LiveValidation(‘service’ , {onlyOnSubmit: true });service.add( Validate.Exclusion, { within: [ ‘None’ ] } );

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T16:20:51+00:00Added an answer on May 15, 2026 at 4:20 pm

    You are not correctly calling validation for all the fields. You must make an instance of LiveValidation object before calling the add function.

    For each field (Name, Email, MessageField) replace:

    new LiveValidation('Name', { wait: 500 }).add(Validate.Presence);
    

    With:

    var LV_Name = new LiveValidation('Name', { wait: 500 });
    LV_Name.add(Validate.Presence);    
    

    Here is complete JS snippet with LiveValidation placed inside document.ready jQuery function that will execute when DOM is ready:

    <script type="text/javascript" src="contact_files/jquery.js"></script>
    <script type="text/javascript" src="contact_files/livevalidation_standalone.js"></script><!-- Let's do the animation -->
    <script type="text/javascript">
    //<![CDATA[
    $(function() {
    
        var LV_Name = new LiveValidation('name',{ wait: 500 });
        LV_Name.add(Validate.Presence);
    
        var LV_Email = new LiveValidation('email', {onlyOnSubmit: true });
        LV_Email.add(Validate.Presence);
    
        var LV_Message= new LiveValidation('message', { wait: 500 });
        LV_Message.add(Validate.Presence);
    
        var service = new LiveValidation('service' , {onlyOnSubmit: true });
        service.add( Validate.Exclusion, { within: [ 'None' ] } );
    
        // set opacity to nill on page load
        $("ul#menu span").css("opacity","0");
        // on mouse over
        $("ul#menu span").hover(function () {
            // animate opacity to full
            $(this).stop().animate({
                opacity: 1
                }, 'slow');
            },
            // on mouse out
            function () {
                // animate opacity to nill
                $(this).stop().animate({
                    opacity: 0
                    }, 'slow');
                });
        });
    //]]>
    </script>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using ASP.NET MVC there are situations (such as form submission) that may require a
Using VS2008, C#, .Net 2 and Winforms how can I make a regular Button
Using preview 4 of ASP.NET MVC Code like: <%= Html.CheckBox( myCheckBox, Click Here, True,
I am using the LiveValidation library found at www.livevalidation.com to handle client-side validation. One
I'm using LiveValidaion for my clientside validation http://livevalidation.com/ and DataAnnotations for my validation rules.
I am using this plugin: https://github.com/augustl/live-validations/wiki to check if the form field entered is
Using SVN you can right click a folder TEST and add it to the
Using gcc 4.4.3 c89: I am just working on the following code below: I
Using online interfaces to a version control system is a nice way to have
Using PyObjC , you can use Python to write Cocoa applications for OS X.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.