I HATE FRAKING JAVASCRIPT!!!!!
Validating forms should be one of the simple basic things for Javascript, but I feel stupid and like I'm in water about 4 feet over my head when it comes to this crap!
I've found several examples of how to validate a zip code but I can't get them to work and I can't figure out what I need to change and I FRAKING HATE THIS SHIT!!!!!
And I'm sitting here struggling with this assignment from 3 WEEKS ago because I still don't get it and it's taking time away that I could be using for my final site project.
If it wouldn't leave me one credit short for financial aid requirements I would be so dropping this class right now!
I'm at the point now where I'm about to decide that it JUST DOESN'T MATTER if I get this stupid form assignment done or not because how many points can it be worth anyway?
*sigh*
Project 1
Start with the following form and javascript embeded in this document. Use the examples covered in class to validate the checkbox and radio button fields. Find or create regular expressions to validate the phone, email and zip code fields.

I've found several examples of how to validate a zip code but I can't get them to work and I can't figure out what I need to change and I FRAKING HATE THIS SHIT!!!!!
And I'm sitting here struggling with this assignment from 3 WEEKS ago because I still don't get it and it's taking time away that I could be using for my final site project.
If it wouldn't leave me one credit short for financial aid requirements I would be so dropping this class right now!
I'm at the point now where I'm about to decide that it JUST DOESN'T MATTER if I get this stupid form assignment done or not because how many points can it be worth anyway?
*sigh*
Project 1
Start with the following form and javascript embeded in this document. Use the examples covered in class to validate the checkbox and radio button fields. Find or create regular expressions to validate the phone, email and zip code fields.


no subject
No long winded descriptions of the history of checkboxes and other useless information.
no subject
http://www.htmlgoodies.com/primers/jsp/article.php/3478421
http://blog.techsaints.com/2007/04/26/javascript-zip-code-validation/
http://blog.ninedays.org/2008/02/15/zip-code-phone-number-and-replacing-empty-fields-with-really-easy-validation/
Samples can also be found on pgs 312-314 of Javascript the Definitive Guide, which is more of a reference book than the one
If you want to post the code snippet, I can look at it, but no promises. The javascript I have done is limited to printing "hello world" and updating navigation headers/bars.
no subject
no subject
no subject
It's been a while. I more or less gave up on programming when I hit the point where I couldn't figure out how to pass info from a javascript form embedded in a web page to a perl script. I had the javascript, I had the perl script, I just couldn't get them to talk to each other.....
Best of luck though,
Matt