Anyone know javascipt?

Having trouble? Our experts may be able to help.

Moderator: Jango_Fred

Anyone know javascipt?

Postby X-Daytona10-X » Sat Nov 21, 2009 12:06 am

I need some help on some javascript form validation. Does anyone know a decent amount of javascript to help me out? or know a website?
I enjoy matt s company


FYI I copied the matt thing from dove i made this sentence so she wouldn't whine about people stealing her idea ;o
X-Daytona10-X
SWBF2 Admin
 
Posts: 269
Joined: Thu Aug 20, 2009 9:33 pm

Re: Anyone know javascipt?

Postby KOko » Sat Nov 21, 2009 8:00 am

I used to be JavaScript teacher about 9 years ago... then I moved to more trade oriented activities.

What do you exactly need ?
To validate a form you simply need to check the value of the fields for certain conditions, for example the email field should definitely contain "@" and "." at least 3 characters after.

If you don't want directions, but the exact code example I will have to dig up some old works...

PS: Some fast Google search on "javascript form validation" brings enough examples:
http://www.w3schools.com/js/js_form_validation.asp
http://www.webcheatsheet.com/javascript ... dation.php
http://www.tizag.com/javascriptT/javascriptform.php

Enjoy!
Retired member of SWGO 2006~2011.
User avatar
KOko
Community Member
 
Posts: 1079
Joined: Tue Aug 18, 2009 1:10 pm

Re: Anyone know javascipt?

Postby X-Daytona10-X » Sat Nov 21, 2009 11:23 am

Well right now my validation with javascript is a window that pops up tell you to fill in so and so blank, but im also looking for that it puts a red border around the needed box if you didn't fill it in.
I enjoy matt s company


FYI I copied the matt thing from dove i made this sentence so she wouldn't whine about people stealing her idea ;o
X-Daytona10-X
SWBF2 Admin
 
Posts: 269
Joined: Thu Aug 20, 2009 9:33 pm


Return to Tech support

Who is online

Users browsing this forum: No registered users and 21 guests