Reply
Page 1 of 25 1 2 3 11 ... LastLast
Results 1 to 30 of 749
  1. #1
    _ samh16's Avatar
    Join Date: Nov 2008
    Posts: 423
    Rep Power: 5167
    samh16 is a glorious beacon of knowledge. (+2500) samh16 is a glorious beacon of knowledge. (+2500) samh16 is a glorious beacon of knowledge. (+2500) samh16 is a glorious beacon of knowledge. (+2500) samh16 is a glorious beacon of knowledge. (+2500) samh16 is a glorious beacon of knowledge. (+2500) samh16 is a glorious beacon of knowledge. (+2500) samh16 is a glorious beacon of knowledge. (+2500) samh16 is a glorious beacon of knowledge. (+2500) samh16 is a glorious beacon of knowledge. (+2500) samh16 is a glorious beacon of knowledge. (+2500)
    samh16 is offline

    The programming/developement help wanted/needed thread

    Lots of IT college students on here, aswell as people workng in the industry, so this thread is the place to post if you need help, whether it be programming, web dev, assignments or personal projects.

    Be specific in your question, give as much detail as possible, and give snippets of code when needed!

    And maybe everyone could say what they're experienced in, so we could get a list of people to go to with specific problems?

    EDIT: I'll update the OP with various links and tutorials for all sorts of dev'ing.

    http://www.dreamincode.net/ --- Lots of languages, really good place to have a look around.

    http://codingbat.com/ --- Programming questions you can answer in Python or Java.

    http://projecteuler.net/ --- Lots of math problems, you can use any language you want to solve them.

    http://developer.android.com/index.html --- Anybody wanting to make android apps, start here. (You should have a good grasp of Java before you start)

    http://developer.apple.com/iphone/index.action --- Same as above, except for iOS. (Pretty sure they use Objective C, but I could be wrong)

    http://sourceforge.net/ --- Lots of free, open source software, aswell as dozens of projects you can get involved in. Any Language.


    Books for iPhone/Mac Development (Courtesy of Boatski) :

    Programming in Object-C 2.0 by Stephen Kochan
    Cocoa Programming for Mac OS X by Aaron Hillegass
    Core Animation for Mac OS X and the iPhone by Bill Dudney


    Feel free to post more and I'll add them to the list!
    Last edited by samh16; 07-15-2010 at 07:47 AM.
    Reply With Quote

  2. #2
    illiterati Bkcmart's Avatar
    Join Date: Feb 2010
    Age: 37
    Posts: 3,388
    Rep Power: 3598
    Bkcmart is a glorious beacon of knowledge. (+2500) Bkcmart is a glorious beacon of knowledge. (+2500) Bkcmart is a glorious beacon of knowledge. (+2500) Bkcmart is a glorious beacon of knowledge. (+2500) Bkcmart is a glorious beacon of knowledge. (+2500) Bkcmart is a glorious beacon of knowledge. (+2500) Bkcmart is a glorious beacon of knowledge. (+2500) Bkcmart is a glorious beacon of knowledge. (+2500) Bkcmart is a glorious beacon of knowledge. (+2500) Bkcmart is a glorious beacon of knowledge. (+2500) Bkcmart is a glorious beacon of knowledge. (+2500)
    Bkcmart is offline
    I still have all my old programming 101 projects if anyone needs something...although it would be best just to help that way people learn...lol. Mostly Java stuff, but some VB also.
    [A]lpha [B]eard [C]rew

    NSCA-CPT

    MISC last.fm group: http://www.last.fm/group/MISC

    *If you respond intelligently to my trolling, I'll usually rep you crew*
    Reply With Quote

  3. #3
    אz - Giga Dorrill Breakah Alephz's Avatar
    Join Date: Aug 2009
    Location: United Kingdom (Great Britain)
    Age: 34
    Posts: 1,151
    Rep Power: 851
    Alephz is a jewel in the rough. (+500) Alephz is a jewel in the rough. (+500) Alephz is a jewel in the rough. (+500) Alephz is a jewel in the rough. (+500) Alephz is a jewel in the rough. (+500) Alephz is a jewel in the rough. (+500) Alephz is a jewel in the rough. (+500) Alephz is a jewel in the rough. (+500) Alephz is a jewel in the rough. (+500) Alephz is a jewel in the rough. (+500) Alephz is a jewel in the rough. (+500)
    Alephz is offline
    Definitely going to keep my eye on this thread. I'm not fantastic but I know a bit with java and prolog.
    If you do what you've always done, you'll get what you always got
    Reply With Quote

  4. #4
    Registered User Boatski's Avatar
    Join Date: Jul 2009
    Age: 36
    Posts: 4,994
    Rep Power: 6140
    Boatski is a name known to all. (+5000) Boatski is a name known to all. (+5000) Boatski is a name known to all. (+5000) Boatski is a name known to all. (+5000) Boatski is a name known to all. (+5000) Boatski is a name known to all. (+5000) Boatski is a name known to all. (+5000) Boatski is a name known to all. (+5000) Boatski is a name known to all. (+5000) Boatski is a name known to all. (+5000) Boatski is a name known to all. (+5000)
    Boatski is offline
    i know cobol, it's ok
    Hide yo kids, hide yo wife.
    Reply With Quote

  5. #5
    emperor deadforaminute's Avatar
    Join Date: Sep 2006
    Location: Connecticut, United States
    Posts: 2,007
    Rep Power: 1250
    deadforaminute is just really nice. (+1000) deadforaminute is just really nice. (+1000) deadforaminute is just really nice. (+1000) deadforaminute is just really nice. (+1000) deadforaminute is just really nice. (+1000) deadforaminute is just really nice. (+1000) deadforaminute is just really nice. (+1000) deadforaminute is just really nice. (+1000) deadforaminute is just really nice. (+1000) deadforaminute is just really nice. (+1000) deadforaminute is just really nice. (+1000)
    deadforaminute is offline
    cool
    the whole world makes me lol
    Reply With Quote

  6. #6
    King of dotdotdot Veldy's Avatar
    Join Date: Jul 2007
    Location: Nebraska, United States
    Posts: 1,861
    Rep Power: 729
    Veldy is a jewel in the rough. (+500) Veldy is a jewel in the rough. (+500) Veldy is a jewel in the rough. (+500) Veldy is a jewel in the rough. (+500) Veldy is a jewel in the rough. (+500) Veldy is a jewel in the rough. (+500) Veldy is a jewel in the rough. (+500) Veldy is a jewel in the rough. (+500) Veldy is a jewel in the rough. (+500) Veldy is a jewel in the rough. (+500) Veldy is a jewel in the rough. (+500)
    Veldy is offline
    Dabbled in Matlab last year for a class..

    So if anyone is taking an intro level Matlab course and needs some help..


    I also know some people who know a lot more about it than I do, so I can ask them if need be
    MMJFS Member #23

    Weak Ass Legs Crew

    .:Foot Fetish Club:.
    Reply With Quote

  7. #7
    1.62m of fawking awesome circusmidget's Avatar
    Join Date: May 2010
    Location: Australia
    Age: 42
    Posts: 3,144
    Rep Power: 5716
    circusmidget is a name known to all. (+5000) circusmidget is a name known to all. (+5000) circusmidget is a name known to all. (+5000) circusmidget is a name known to all. (+5000) circusmidget is a name known to all. (+5000) circusmidget is a name known to all. (+5000) circusmidget is a name known to all. (+5000) circusmidget is a name known to all. (+5000) circusmidget is a name known to all. (+5000) circusmidget is a name known to all. (+5000) circusmidget is a name known to all. (+5000)
    circusmidget is offline
    I'm studying IT at the moment. I'm not an expert by any stretch of the imagination, but I have tinkered in the following languages (some more than others):

    C, C++, Java, C#, Perl (dear gods, how I loathe), Python, M68k asm, x86 asm. I think that's it.

    I've also tinkered with XHTML, CSS, XML (+DTD/W3C Schemas), PHP and SQL (my).
    Reply With Quote

  8. #8
    Registered User neilsabo's Avatar
    Join Date: Feb 2007
    Posts: 5,052
    Rep Power: 12778
    neilsabo is a splendid one to behold. (+10000) neilsabo is a splendid one to behold. (+10000) neilsabo is a splendid one to behold. (+10000) neilsabo is a splendid one to behold. (+10000) neilsabo is a splendid one to behold. (+10000) neilsabo is a splendid one to behold. (+10000) neilsabo is a splendid one to behold. (+10000) neilsabo is a splendid one to behold. (+10000) neilsabo is a splendid one to behold. (+10000) neilsabo is a splendid one to behold. (+10000) neilsabo is a splendid one to behold. (+10000)
    neilsabo is offline
    i suggest we compile a list of links for tutorials in various tools/languages in the OP

    if i knew any, i'd start, lol...
    Reply With Quote

  9. #9
    Registered User brahdawg's Avatar
    Join Date: Mar 2010
    Location: Canada
    Posts: 910
    Rep Power: 352
    brahdawg will become famous soon enough. (+50) brahdawg will become famous soon enough. (+50) brahdawg will become famous soon enough. (+50) brahdawg will become famous soon enough. (+50) brahdawg will become famous soon enough. (+50) brahdawg will become famous soon enough. (+50) brahdawg will become famous soon enough. (+50) brahdawg will become famous soon enough. (+50) brahdawg will become famous soon enough. (+50) brahdawg will become famous soon enough. (+50) brahdawg will become famous soon enough. (+50)
    brahdawg is offline
    Remember kids, its not so much the language you know but the programming concepts that are important.

    For learning basic web stuff the w3schools has a bunch of useful little tutorials.
    http://www.w3schools.com/
    Reply With Quote

  10. #10
    Joe Soap EasTexan's Avatar
    Join Date: Jul 2009
    Location: Texas, United States
    Age: 35
    Posts: 3,248
    Rep Power: 3886
    EasTexan is a glorious beacon of knowledge. (+2500) EasTexan is a glorious beacon of knowledge. (+2500) EasTexan is a glorious beacon of knowledge. (+2500) EasTexan is a glorious beacon of knowledge. (+2500) EasTexan is a glorious beacon of knowledge. (+2500) EasTexan is a glorious beacon of knowledge. (+2500) EasTexan is a glorious beacon of knowledge. (+2500) EasTexan is a glorious beacon of knowledge. (+2500) EasTexan is a glorious beacon of knowledge. (+2500) EasTexan is a glorious beacon of knowledge. (+2500) EasTexan is a glorious beacon of knowledge. (+2500)
    EasTexan is offline
    This thread should blow up once the fall semester starts. I know I'll post here for sure. I'm taking an "Internet Technologies" class over the summer for my IT minor, basically how to make webpages, should be an easy A.

    Majoring in computer science and minoring in IT.
    Reply With Quote

  11. #11
    Registered User Mustaine14's Avatar
    Join Date: Sep 2009
    Location: Canada
    Age: 29
    Posts: 908
    Rep Power: 563
    Mustaine14 has a spectacular aura about. (+250) Mustaine14 has a spectacular aura about. (+250) Mustaine14 has a spectacular aura about. (+250) Mustaine14 has a spectacular aura about. (+250) Mustaine14 has a spectacular aura about. (+250) Mustaine14 has a spectacular aura about. (+250) Mustaine14 has a spectacular aura about. (+250) Mustaine14 has a spectacular aura about. (+250) Mustaine14 has a spectacular aura about. (+250) Mustaine14 has a spectacular aura about. (+250) Mustaine14 has a spectacular aura about. (+250)
    Mustaine14 is offline
    Sup brahs

    PHP/MySQL/JavaScript/CSS/XHTML/Java programmer here... Also looking to learn C# soon and a non web-oriented language. Doing this in my free time, no courses.
    Reply With Quote

  12. #12
    snailsrus Coal Man's Avatar
    Join Date: Jul 2006
    Posts: 39,560
    Rep Power: 643211
    Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000)
    Coal Man is offline
    Wassup guys. I'm a noob here so forgive me.

    I'm trying to do a simple html web form for practice (contact information).

    Some of the fields, however, require validation using javascript.

    So is it possible to do all my forms under one form tag and use one script to validate the fields that need validation, or should I just paste in all the forms together and post separate validations for each one?
    ▬▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬▬▬▬▬
    ...............................R.I.P.................................
    .............Aziz "Zyzz" Sergeyevich Shavershian.........
    .................₪₪₪₪₪₪1989-2011₪₪₪₪₪₪.............
    ▬▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬▬▬▬▬
    Reply With Quote

  13. #13
    Bagging Milk Considine's Avatar
    Join Date: Aug 2007
    Location: Calgary, Alberta, Canada
    Age: 35
    Posts: 7,595
    Rep Power: 13710
    Considine is a splendid one to behold. (+10000) Considine is a splendid one to behold. (+10000) Considine is a splendid one to behold. (+10000) Considine is a splendid one to behold. (+10000) Considine is a splendid one to behold. (+10000) Considine is a splendid one to behold. (+10000) Considine is a splendid one to behold. (+10000) Considine is a splendid one to behold. (+10000) Considine is a splendid one to behold. (+10000) Considine is a splendid one to behold. (+10000) Considine is a splendid one to behold. (+10000)
    Considine is offline
    HTML, CSS, PHP and still tinkering with Flash (inb4 "HTML 5 FGT").


    jQuery is so awesome. Gives me boners guise.
    GT: Conzidine
    PSN: Conzidine
    Reply With Quote

  14. #14
    nothing but a peppercorn Rambo26's Avatar
    Join Date: Jun 2006
    Location: Somerset, United Kingdom (Great Britain)
    Posts: 19,050
    Rep Power: 5713
    Rambo26 is a name known to all. (+5000) Rambo26 is a name known to all. (+5000) Rambo26 is a name known to all. (+5000) Rambo26 is a name known to all. (+5000) Rambo26 is a name known to all. (+5000) Rambo26 is a name known to all. (+5000) Rambo26 is a name known to all. (+5000) Rambo26 is a name known to all. (+5000) Rambo26 is a name known to all. (+5000) Rambo26 is a name known to all. (+5000) Rambo26 is a name known to all. (+5000)
    Rambo26 is offline
    Originally Posted by Mustaine14 View Post
    Sup brahs

    PHP/MySQL/JavaScript/CSS/XHTML/Java programmer here... Also looking to learn C# soon and a non web-oriented language. Doing this in my free time, no courses.
    I don't do any coding at the moment but you should like C#, very similar syntax to Java
    All posts should be considered in the correct context, especially those in the Misc section.
    Reply With Quote

  15. #15
    Aussie Pride Aussie Flare's Avatar
    Join Date: Dec 2004
    Location: Melbourne, VIC, Australia
    Age: 41
    Posts: 1,009
    Rep Power: 364
    Aussie Flare will become famous soon enough. (+50) Aussie Flare will become famous soon enough. (+50) Aussie Flare will become famous soon enough. (+50) Aussie Flare will become famous soon enough. (+50) Aussie Flare will become famous soon enough. (+50) Aussie Flare will become famous soon enough. (+50) Aussie Flare will become famous soon enough. (+50) Aussie Flare will become famous soon enough. (+50) Aussie Flare will become famous soon enough. (+50) Aussie Flare will become famous soon enough. (+50) Aussie Flare will become famous soon enough. (+50)
    Aussie Flare is offline
    I'm currently going through some ASP.NET 3.5 textbooks. Have done a bit of VB.net and am now learning C#.
    Aussie Crew
    Reply With Quote

  16. #16
    _ samh16's Avatar
    Join Date: Nov 2008
    Posts: 423
    Rep Power: 5167
    samh16 is a glorious beacon of knowledge. (+2500) samh16 is a glorious beacon of knowledge. (+2500) samh16 is a glorious beacon of knowledge. (+2500) samh16 is a glorious beacon of knowledge. (+2500) samh16 is a glorious beacon of knowledge. (+2500) samh16 is a glorious beacon of knowledge. (+2500) samh16 is a glorious beacon of knowledge. (+2500) samh16 is a glorious beacon of knowledge. (+2500) samh16 is a glorious beacon of knowledge. (+2500) samh16 is a glorious beacon of knowledge. (+2500) samh16 is a glorious beacon of knowledge. (+2500)
    samh16 is offline
    Originally Posted by Coal Man View Post
    Wassup guys. I'm a noob here so forgive me.

    I'm trying to do a simple html web form for practice (contact information).

    Some of the fields, however, require validation using javascript.

    So is it possible to do all my forms under one form tag and use one script to validate the fields that need validation, or should I just paste in all the forms together and post separate validations for each one?

    Is it multiple forms , or one form with multiple fields?

    I'm guessing it's the latter, in which case you could use a for loop to run through the form while checking each piece of info.

    Have a look here : http://www.elated.com/articles/form-...th-javascript/

    And here is some code from that page that handles multiple fields at once :http://www.elated.com/res/File/artic...rm_source.html
    Rep back 3k+
    Reply With Quote

  17. #17
    snailsrus Coal Man's Avatar
    Join Date: Jul 2006
    Posts: 39,560
    Rep Power: 643211
    Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000)
    Coal Man is offline
    Originally Posted by samh16 View Post
    Is it multiple forms , or one form with multiple fields?

    I'm guessing it's the latter, in which case you could use a for loop to run through the form while checking each piece of info.

    Have a look here : http://www.elated.com/articles/form-...th-javascript/

    And here is some code from that page that handles multiple fields at once :http://www.elated.com/res/File/artic...rm_source.html
    sick, this helps me understand alot more!!! Reps.
    ▬▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬▬▬▬▬
    ...............................R.I.P.................................
    .............Aziz "Zyzz" Sergeyevich Shavershian.........
    .................₪₪₪₪₪₪1989-2011₪₪₪₪₪₪.............
    ▬▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬▬▬▬▬
    Reply With Quote

  18. #18
    _ samh16's Avatar
    Join Date: Nov 2008
    Posts: 423
    Rep Power: 5167
    samh16 is a glorious beacon of knowledge. (+2500) samh16 is a glorious beacon of knowledge. (+2500) samh16 is a glorious beacon of knowledge. (+2500) samh16 is a glorious beacon of knowledge. (+2500) samh16 is a glorious beacon of knowledge. (+2500) samh16 is a glorious beacon of knowledge. (+2500) samh16 is a glorious beacon of knowledge. (+2500) samh16 is a glorious beacon of knowledge. (+2500) samh16 is a glorious beacon of knowledge. (+2500) samh16 is a glorious beacon of knowledge. (+2500) samh16 is a glorious beacon of knowledge. (+2500)
    samh16 is offline
    Originally Posted by Coal Man View Post
    sick, this helps me understand alot more!!! Reps.
    Any time, that's what the thread's for.

    And btw, is it cool if I PM you with sites to add to the OP every now and then? I can't edit after 24 hours...
    Rep back 3k+
    Reply With Quote

  19. #19
    snailsrus Coal Man's Avatar
    Join Date: Jul 2006
    Posts: 39,560
    Rep Power: 643211
    Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000)
    Coal Man is offline
    Originally Posted by samh16 View Post
    Any time, that's what the thread's for.

    And btw, is it cool if I PM you with sites to add to the OP every now and then? I can't edit after 24 hours...
    sure thing.
    ▬▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬▬▬▬▬
    ...............................R.I.P.................................
    .............Aziz "Zyzz" Sergeyevich Shavershian.........
    .................₪₪₪₪₪₪1989-2011₪₪₪₪₪₪.............
    ▬▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬▬▬▬▬
    Reply With Quote

  20. #20
    _ samh16's Avatar
    Join Date: Nov 2008
    Posts: 423
    Rep Power: 5167
    samh16 is a glorious beacon of knowledge. (+2500) samh16 is a glorious beacon of knowledge. (+2500) samh16 is a glorious beacon of knowledge. (+2500) samh16 is a glorious beacon of knowledge. (+2500) samh16 is a glorious beacon of knowledge. (+2500) samh16 is a glorious beacon of knowledge. (+2500) samh16 is a glorious beacon of knowledge. (+2500) samh16 is a glorious beacon of knowledge. (+2500) samh16 is a glorious beacon of knowledge. (+2500) samh16 is a glorious beacon of knowledge. (+2500) samh16 is a glorious beacon of knowledge. (+2500)
    samh16 is offline
    Originally Posted by Coal Man View Post
    sure thing.
    Cool.

    Back on topic: Anybody in the middle of any projects/assignments atm?
    Rep back 3k+
    Reply With Quote

  21. #21
    snailsrus Coal Man's Avatar
    Join Date: Jul 2006
    Posts: 39,560
    Rep Power: 643211
    Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000)
    Coal Man is offline
    Yep me, pretty soon I'll have to do up some web pages for an assignment.

    Ok javascript is almost done. I've been tinkering around with it and the last part is pissing me off. I put in validations for the fields but the javascript to validate the zip code is very tricky.

    I got the code from this site http://javascript.internet.com/forms/val-zip-code.html
    but when I put it in, it doesn't work and disables the rest of the script from working


    This is what I have so far, just need the zip code help:

    <head>

    <script type="text/javascript">

    <!--

    function validate_form ( )
    {
    valid = true;

    if ( document.contact_form.title.selectedIndex == 0 )
    {
    alert ( "Please select your Title." );
    valid = false;
    }

    if ( document.contact_form.firstname.value == "" )
    {
    alert ( "Please fill in the 'Your Name' box." );
    valid = false;
    }

    if ( document.contact_form.lastname.value == "" )
    {
    alert ( "Please fill in the 'Last Name' box." );
    valid = false;
    }

    if ( document.contact_form.usrname.value == "" )
    {
    alert ( "Please fill in the 'Username' box." );
    valid = false;
    }

    if ( document.contact_form.pwd.value == "" )
    {
    alert ( "Please fill in the 'Password' box." );
    valid = false;
    }

    if ( ( document.contact_form.membertype[0].checked == false ) && ( document.contact_form.membertype[1].checked == false ) )
    {
    alert ( "Please choose your Member Type: Normal or Premium" );
    valid = false;
    }

    if ( document.contact_form.address.value == "" )
    {
    alert ( "Please fill in the 'Address' box." );
    valid = false;
    }

    if ( document.contact_form.city.value == "" )
    {
    alert ( "Please fill in the 'City' box." );
    valid = false;
    }

    if ( document.contact_form.terms.checked == false )
    {
    alert ( "Please check the Terms & Conditions box." );
    valid = false;
    }



    return valid;
    }

    //-->

    </script>

    </head>

    <body>
    <form name="contact_form" action="html_form_submit.asp" method="get" onSubmit="return validate_form ( );">
    <form action=""><h3>Title:</h3>
    <select name="title">
    <option>Mr.</option>
    <option>Mrs.</option>
    <option>Miss</option>
    <option>Other</option>
    </select>
    <br />
    <br />

    <h3>First Name(Required):</h3>
    <input type="text" name="firstname" size="20" />
    <br />
    <h3>Last Name(Required):</h3>
    <input type="text" name="lastname" size="40" />
    <br />
    <br />




    <h3>Username(Required):</h3> <input type="text" name="usrname" />
    <br />
    <br />




    <h3>Password(Required):</h3> <input type="text" name="pwd" />
    <br />
    <br />



    <h3>Member Type(Required):</h3>
    <input type="radio" name="membertype" value="Normal" /> Normal Membership<br />
    <input type="radio" name="membertype" value="Premium" /> Premium Membership<br />
    <br />
    <br />



    <h3>Contact Type:</h3>
    <input type="radio" name="contacttype" value="Home" /> Home<br />
    <input type="radio" name="contacttype" value="Work" /> Work<br />
    <br />
    <br />



    <h3>Best time to contact me:</h3> <input type="text" name="contacttime" />
    <br />
    <br />




    <h3>Address(Required):</h3>
    <input type="text" name="address" size=100 />
    <br />
    <br />


    <h3>City(Required):</h3>
    <input type="text" name="city" size=50 />
    <br />
    <br />


    <h3>Country:</h3>
    <input type= "text" name="country" size=50 />
    <br />
    <br />


    <h3>Phone Number:</h3>
    <input type= "text" name="phone" size=20 />
    <br />
    <br />

    <h3>Email:</h3>
    <input type="text" name="email" size=50 />
    <br />

    <input type="submit" value="Submit this form"
    onclick="formvalidation(contact_form);return false;" />
    </form>
    </body>

    Otherwise this is my first form and it's pretty fun
    ▬▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬▬▬▬▬
    ...............................R.I.P.................................
    .............Aziz "Zyzz" Sergeyevich Shavershian.........
    .................₪₪₪₪₪₪1989-2011₪₪₪₪₪₪.............
    ▬▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬▬▬▬▬
    Reply With Quote

  22. #22
    _ samh16's Avatar
    Join Date: Nov 2008
    Posts: 423
    Rep Power: 5167
    samh16 is a glorious beacon of knowledge. (+2500) samh16 is a glorious beacon of knowledge. (+2500) samh16 is a glorious beacon of knowledge. (+2500) samh16 is a glorious beacon of knowledge. (+2500) samh16 is a glorious beacon of knowledge. (+2500) samh16 is a glorious beacon of knowledge. (+2500) samh16 is a glorious beacon of knowledge. (+2500) samh16 is a glorious beacon of knowledge. (+2500) samh16 is a glorious beacon of knowledge. (+2500) samh16 is a glorious beacon of knowledge. (+2500) samh16 is a glorious beacon of knowledge. (+2500)
    samh16 is offline
    @CoalMan, the last part should be
    Code:
    <input type="submit" value="Submit this form"
    onclick="validate_form(contact_form);return false;" />
    because 'validate_form' is the name of the validation script you have, when the button is pressed it calls the script and excecutes it.

    Any javascript ninja's have any idea about the zip code part?
    Rep back 3k+
    Reply With Quote

  23. #23
    Registered User Boatski's Avatar
    Join Date: Jul 2009
    Age: 36
    Posts: 4,994
    Rep Power: 6140
    Boatski is a name known to all. (+5000) Boatski is a name known to all. (+5000) Boatski is a name known to all. (+5000) Boatski is a name known to all. (+5000) Boatski is a name known to all. (+5000) Boatski is a name known to all. (+5000) Boatski is a name known to all. (+5000) Boatski is a name known to all. (+5000) Boatski is a name known to all. (+5000) Boatski is a name known to all. (+5000) Boatski is a name known to all. (+5000)
    Boatski is offline
    Coal, can you post what you're using with the Zip stuff on it? I don't see anything from what you posted above.

    Try this maybe.
    http://www.zparacha.com/validate-zip...ar-expression/
    Hide yo kids, hide yo wife.
    Reply With Quote

  24. #24
    snailsrus Coal Man's Avatar
    Join Date: Jul 2006
    Posts: 39,560
    Rep Power: 643211
    Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000)
    Coal Man is offline
    Originally Posted by samh16 View Post
    @CoalMan, the last part should be
    Code:
    <input type="submit" value="Submit this form"
    onclick="validate_form(contact_form);return false;" />
    because 'validate_form' is the name of the validation script you have, when the button is pressed it calls the script and excecutes it.

    Any javascript ninja's have any idea about the zip code part?
    Thanks will edit the submit button now.


    Originally Posted by Boatski View Post
    Coal, can you post what you're using with the Zip stuff on it? I don't see anything from what you posted above.

    Try this maybe.
    http://www.zparacha.com/validate-zip...ar-expression/
    I left the zip code text field and the javascript out.

    The funny thing is when I copy the code they say to copy here:

    http://javascript.internet.com/forms/val-zip-code.html

    and paste it in a text file by itself, it works.

    I just don't know how to incorporate it into my text file with everything else.
    ▬▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬▬▬▬▬
    ...............................R.I.P.................................
    .............Aziz "Zyzz" Sergeyevich Shavershian.........
    .................₪₪₪₪₪₪1989-2011₪₪₪₪₪₪.............
    ▬▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬▬▬▬▬
    Reply With Quote

  25. #25
    snailsrus Coal Man's Avatar
    Join Date: Jul 2006
    Posts: 39,560
    Rep Power: 643211
    Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000)
    Coal Man is offline
    Originally Posted by samh16 View Post
    @CoalMan, the last part should be
    Code:
    <input type="submit" value="Submit this form"
    onclick="validate_form(contact_form);return false;" />
    Ok here's the difference when I try this.

    The way I had it before, the alert for each empty field popped up once which is what it's supposed to do.

    When I changed formvalidate to validate_form, the the same thing happened, but it looped again and all alerts came up twice.
    ▬▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬▬▬▬▬
    ...............................R.I.P.................................
    .............Aziz "Zyzz" Sergeyevich Shavershian.........
    .................₪₪₪₪₪₪1989-2011₪₪₪₪₪₪.............
    ▬▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬▬▬▬▬
    Reply With Quote

  26. #26
    _ samh16's Avatar
    Join Date: Nov 2008
    Posts: 423
    Rep Power: 5167
    samh16 is a glorious beacon of knowledge. (+2500) samh16 is a glorious beacon of knowledge. (+2500) samh16 is a glorious beacon of knowledge. (+2500) samh16 is a glorious beacon of knowledge. (+2500) samh16 is a glorious beacon of knowledge. (+2500) samh16 is a glorious beacon of knowledge. (+2500) samh16 is a glorious beacon of knowledge. (+2500) samh16 is a glorious beacon of knowledge. (+2500) samh16 is a glorious beacon of knowledge. (+2500) samh16 is a glorious beacon of knowledge. (+2500) samh16 is a glorious beacon of knowledge. (+2500)
    samh16 is offline
    Originally Posted by Coal Man View Post
    Ok here's the difference when I try this.

    The way I had it before, the alert for each empty field popped up once which is what it's supposed to do.

    When I changed formvalidate to validate_form, the the same thing happened, but it looped again and all alerts came up twice.
    Code:
    <form name="contact_form" action="html_form_submit.asp" method="get" onSubmit="return validate_form ( );">
    That's why. Is that return statement needed? Either remove that one or the one at the bottom.
    Rep back 3k+
    Reply With Quote

  27. #27
    snailsrus Coal Man's Avatar
    Join Date: Jul 2006
    Posts: 39,560
    Rep Power: 643211
    Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000) Coal Man has a reputation beyond repute. Second best rank possible! (+100000)
    Coal Man is offline
    Originally Posted by samh16 View Post
    Code:
    <form name="contact_form" action="html_form_submit.asp" method="get" onSubmit="return validate_form ( );">
    That's why. Is that return statement needed? Either remove that one or the one at the bottom.
    Ok I get you.

    So how about if I put "onSubmit="return validateZIP(this.zip.value)" in the initial statement and leave validate_form in the submit button. Will that fix the zip code problem?
    ▬▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬▬▬▬▬
    ...............................R.I.P.................................
    .............Aziz "Zyzz" Sergeyevich Shavershian.........
    .................₪₪₪₪₪₪1989-2011₪₪₪₪₪₪.............
    ▬▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬▬▬▬▬
    Reply With Quote

  28. #28
    Registered User Boatski's Avatar
    Join Date: Jul 2009
    Age: 36
    Posts: 4,994
    Rep Power: 6140
    Boatski is a name known to all. (+5000) Boatski is a name known to all. (+5000) Boatski is a name known to all. (+5000) Boatski is a name known to all. (+5000) Boatski is a name known to all. (+5000) Boatski is a name known to all. (+5000) Boatski is a name known to all. (+5000) Boatski is a name known to all. (+5000) Boatski is a name known to all. (+5000) Boatski is a name known to all. (+5000) Boatski is a name known to all. (+5000)
    Boatski is offline
    Originally Posted by samh16 View Post
    http://developer.apple.com/iphone/index.action --- Same as above, except for iOS. (Pretty sure they use Objective C, but I could be wrong)
    Objective-C is correct.

    Some good books for Mac/iPhone development would be:

    Programming in Object-C 2.0 by Stephen Kochan
    Cocoa Programming for Mac OS X by Aaron Hillegass
    Core Animation for Mac OS X and the iPhone by Bill Dudney

    Aaron Hillegass has a new one out, but cannot think of the title.
    Hide yo kids, hide yo wife.
    Reply With Quote

  29. #29
    Manlet PHOENIX ONpump17's Avatar
    Join Date: Jun 2008
    Location: Ontario, Canada
    Age: 31
    Posts: 5,889
    Rep Power: 3395
    ONpump17 is a glorious beacon of knowledge. (+2500) ONpump17 is a glorious beacon of knowledge. (+2500) ONpump17 is a glorious beacon of knowledge. (+2500) ONpump17 is a glorious beacon of knowledge. (+2500) ONpump17 is a glorious beacon of knowledge. (+2500) ONpump17 is a glorious beacon of knowledge. (+2500) ONpump17 is a glorious beacon of knowledge. (+2500) ONpump17 is a glorious beacon of knowledge. (+2500) ONpump17 is a glorious beacon of knowledge. (+2500) ONpump17 is a glorious beacon of knowledge. (+2500) ONpump17 is a glorious beacon of knowledge. (+2500)
    ONpump17 is offline
    in and subbed. I plan on learning at least one new language this summer, probably C++ or something. My schools program isn't the best, so I'm learning as much as possible.

    my submission to this 'pool of knowledge'
    (Coal Mayne if this goes against the rules plz just delete post thx)
    Manlet Sea Phoenix/Captain
    "If one is born as a male, at least once in his life he'll dream, of becoming the strongest man alive."
    5/3/1 Training Log: http://forum.bodybuilding.com/showthread.php?t=127004753
    Reply With Quote

  30. #30
    Registered User Boatski's Avatar
    Join Date: Jul 2009
    Age: 36
    Posts: 4,994
    Rep Power: 6140
    Boatski is a name known to all. (+5000) Boatski is a name known to all. (+5000) Boatski is a name known to all. (+5000) Boatski is a name known to all. (+5000) Boatski is a name known to all. (+5000) Boatski is a name known to all. (+5000) Boatski is a name known to all. (+5000) Boatski is a name known to all. (+5000) Boatski is a name known to all. (+5000) Boatski is a name known to all. (+5000) Boatski is a name known to all. (+5000)
    Boatski is offline
    Originally Posted by ONpump17 View Post
    in and subbed. I plan on learning at least one new language this summer, probably C++ or something. My schools program isn't the best, so I'm learning as much as possible.

    my submission to this 'pool of knowledge'
    (Coal Mayne if this goes against the rules plz just delete post thx)
    [img]http://i29.tinypic.com/rhinw9.jpg[img]
    C++ is definitely a good one to learn and be proficient in.

    another book for Mac/iPhone is:
    Beginning iPhone 3 Development Exploring the iPhone SDK by Dave Mark and Jeff LaMarche


    edit:
    once you understand object-oriented programming, picking up other OO languages should be fairly easy.

    IE C++ to Objective-C. They're very similar.
    Hide yo kids, hide yo wife.
    Reply With Quote

Similar Threads

  1. Replies: 0
    Last Post: 04-14-2010, 11:34 PM
  2. Elbow Tendinitis.. what the hell man!! Help Wanted
    By TooSharp in forum Workout Programs
    Replies: 9
    Last Post: 11-02-2009, 01:46 PM
  3. Learning the POWER CLEAN: Help Wanted [Video Inside]
    By Dracoy in forum Powerlifting/Strongman
    Replies: 22
    Last Post: 05-24-2009, 04:48 AM
  4. About the german volume training...help wanted
    By master_no_name in forum Workout Programs
    Replies: 4
    Last Post: 01-12-2003, 06:16 PM

Posting Permissions

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