my site is villagestories.com
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Just to start, your contact form should not have a 6 character requirement on the name field.
Are you using a plugin for the comment forum and which?
no,i didn’t use any plugin for that,i wrote the validation code for that particular fields.
In your comment form you have this line of code (well in your html source)
<form name="com" method="post" onSubmit="return Comment()">
And your javascript just does it’s validation and sends the request but the request doesn’t go anywhere because your form field should look like this
<form name="com" action="http://villagestories.com/wp-comments-post.php method="post" onSubmit="return Comment()">"
Notice that you didn’t include the action attribute on your comment form, currently when your javascript returns true it looks for the action field and when it doesn’t see it, the system fails.
Add the action field in your comment template and try again, it should fix your issue.
@neal Bloome
thank u so much…it is working now.thanks a lot