כלי אימות טופס Javascript גרסה 2.5
על ידי Artswork
I must apologize for the fact that I am no longer able to accept email questions about my script where I would afford many hours to helping people properly integrate this module and writing additional items for anyone. This has occurred since the email worms of August 2003 severely compromised my email address displayed here attacked to where I had to deal with thousands of erroneous returned emails a day. I may periodically try to turn it back on so please return or try again after the dust settles. I also must state how people with our skills can ruin and incredible idea such as the internet for communication is disparaging. I have tried for many years returning contributions to others for my success working upon this medium. Thanks to all the interest I have received.
כלי אימות טופס זה תוכל לבדוק שדות חובה, מספר שלם, אימייל ותאריך in your forms. It is easily portable to all your forms and will help save server side resources from form field validation and page reloads. All the messages are customized in the hidden form element where you also select the validation requirement. You can mix the required element with any of the other elements. This code is completely portable and can be used with any form by just adding your hidden elements appropriately and adding the onClick command to a button.

על פי הכללים.
1) כדי להגדיר שדה נדרש שימוש שם השדה הקיים ולהוסיף r_ לתחילת השדה שם, ליצור רכיב מוסתרים.
דוגמה:
<input type="text" name="your_fieldname">
<input type="hidden" name="r_your_fieldname" value="Required error message goes here">

2) כדי להגדיר שלם שדה השתמש בשמך השדה הקיים ולהוסיף i_ לתחילת השדה שם, ליצור רכיב מוסתרים.
דוגמה:
<input type="text" name="your_fieldname">
<input type="hidden" name="i_your_fieldname" value="Integer error message goes here">

3) To set a date field use your existing field name and add an d_ to the beginning of the field name and create a hidden element. This date field only accepts the format MM/DD/YY or M/D/YY.
דוגמה:
<input type="text" name="your_fieldname">
<input type="hidden" name="d_your_fieldname" value="Date error message goes here">

4) To validate an email field use your existing field name and add an e_ to the beginning of the field name and create a hidden element.
דוגמה:
<input type="text" name="your_fieldname">
<input type="hidden" name="e_your_fieldname" value="The email address format is incorrect">

Initialization of the script.
עליך להשתמש בסוג = "כפתור" לא הטיפוס = "להגיש" עבור לחצן השליחה שלך, ה-javascript שולח שלח את בשבילך.
דוגמה:
<input type=button Value="Button Message Here" onclick="check(form,form.elements.length)">



This sample utilizes all three validation tools in combination.

כתובת דוא: (required and email validation)
שם פרטי: (required validation)
שם משפחה: (required validation)
כתובת 1: (required validation)
כתובת 2: (no validation)
בן כמה אתה: (required and integer validation)
שנים שיש לך כבר scripting: (integer validation)
מהו התאריך של היום: (mm/dd/yy) (date validation)
בחר נושא: (required validation)
בחר לחצן: מבחן 1 מבחן 2 מבחן 3 (required validation)
בחר כל כי חלים: מבחן 1 מבחן 2 מבחן 3 (required validation on box 1)

© 2004 Artswork