Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,153,085 members, 7,818,250 topics. Date: Sunday, 05 May 2024 at 11:13 AM

Comment Box Validation (urgent) - Webmasters - Nairaland

Nairaland Forum / Science/Technology / Webmasters / Comment Box Validation (urgent) (1849 Views)

How To Add Comment Box In My Wapka Site / Form Validation Tutorial Using Javascript, Php, Ajax / Form Validation Tutorial Using Javascript, Php And Ajax! (2) (3) (4)

(1) (Reply) (Go Down)

Comment Box Validation (urgent) by AFOLS: 1:04pm On Jun 16, 2012
Hi, can anyone please help urgently on how i can validate a comment box name and email (i.e required fields).
I am using Dreamweaver 5.
Kindly give simple practical steps

Thank you.

Seun, kindly help post on front page. Thanks.
Re: Comment Box Validation (urgent) by guru01(m): 3:47pm On Jun 16, 2012
for validating with html5
Name:
<input type="text" value="" required />

Email:
<input type="email" value="" required />


Thank will help.
Re: Comment Box Validation (urgent) by yawatide(f): 5:52pm On Jun 16, 2012
guru01:
What happens for browsers that don't fully support html5 (I am thinking specifically < IE9)? I think the solution here is a combination of front end (javascript) and back end (php, etc).

OP:
Google for "livevalidation". Though plenty of others exist, that's what I use for front end validation. It has worked for me for the past 4 or so years. It provides validation for all fields and special cases of such fields (email addresses, etc)

Good luck!
Re: Comment Box Validation (urgent) by Nobody: 6:32pm On Jun 16, 2012
Use jQuery Validation they work well and quite simple. HTML5 Validation is the last thing you should rely on, i use Dojo Validations but use what u're comfortable with.
Re: Comment Box Validation (urgent) by spikesC(m): 7:37pm On Jun 16, 2012
whatever you're doing, never forget backend validation...frontend can always be bypassed. Thats why i always develop a website completely before adding javascript stuffs.
Re: Comment Box Validation (urgent) by AFOLS: 9:00pm On Jun 16, 2012
Thanks everyone, from all my search, I think I need a java script, but have not found a simple one to use.
If you know any, please point it to me.
The once I got always have just name and comment box, no space for email and no validation.
still searching . . .
Re: Comment Box Validation (urgent) by guru01(m): 10:54pm On Jun 16, 2012
You can search with keyword like: name and email validation script, javascript form script, frontend validated form script.
Re: Comment Box Validation (urgent) by yawatide(f): 4:33am On Jun 17, 2012
None of them will be simple. What you need to do is follow the tutorials or just install the script as you downloaded it, and build your page(s) from there.

Good luck!
Re: Comment Box Validation (urgent) by Nobody: 8:37am On Jun 17, 2012
and also add support for incase JS is disabled because i skipped that, will ave to do that, how do u disable javaScript on Chrome.

(1) (Reply)

Syskay Is Down? Gigalayer Gives You N500 Domains & 6month Free Hosting / Simplepay4u Now Messing Up! - Again!!! / Best Way To Get 5000 Hits On Your Pageviews Perday

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 9
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.