SitePoint Sponsor

User Tag List

Page 5 of 5 FirstFirst 12345
Results 101 to 103 of 103
  1. #101
    Non-Member
    Join Date
    Jan 2008
    Location
    N43 44.4824', W079 13.9408
    Posts
    2,220
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This function is not being called by the form.
    Code JavaScript:
     function validateMessage() {
                message.parent().find('.error').remove();
                message.removeClass("fldinerror");
                var a = message.val();
                if (a.length < 10) {
                    return reporterrormessage(message, "Please complete the message field");
                }
                return true;
            }

  2. #102
    SitePoint Evangelist
    Join Date
    Jun 2007
    Location
    North Yorkshire, UK
    Posts
    483
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I believe it is. You have text "Your message here" in the field which is being taken as the message. Thus it is considered to have been supplied.

  3. #103
    Non-Member
    Join Date
    Jan 2008
    Location
    N43 44.4824', W079 13.9408
    Posts
    2,220
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You're right, I didn't delete the "your message here" to verify it was working


Bookmarks

Posting Permissions

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