Input validation with JavaScript

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Rakesh Chaurasia
    New Member
    • Jan 2008
    • 1

    Input validation with JavaScript

    Hello,

    i join recently this group.

    I'm web developer(PHP)

    help me
    I have one problem in javascript

    i wanna validate these fields
    [HTML]<input name="fullname[]" id="fullname[]" type="text" class="refer_te xtbox"/>

    <input name="EmailID_A dd[]" id="EmailID_Ad d[]" type="text" class="refer_te xtbox"/>[/HTML]

    how i can validate using javascript?????

    plz. help me.
    Last edited by gits; Jan 2 '08, 11:45 AM. Reason: added code tags
  • gits
    Recognized Expert Moderator Expert
    • May 2007
    • 5390

    #2
    hi ...

    welcome to theScripts ...

    what validation do you want? you may use the onchange-event of the fields to validate instantly or the onsubmit-event of the form to validate the entire form befor it will be submitted to the server ...

    kind regards

    Comment

    Working...