|
|
Instrumentul de validare JavaScript forma ver 2.5 |
|
de 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. Acest instrument de validare formular puteÅ£i verifica pentru câmpurile obligatorii, întreg, e-mail Åi data în formulare. Este uÅor portabil pentru toate formularele Åi va ajuta la salvarea partea de server resurse de la validare câmp formular Åi reîncÄrcÄrile de paginÄ. Toate mesajele sunt personalizate în formÄ ascunse elementul care puteÅ£i selecta, de asemenea, cerinÅ£a de validare. PuteÅ£i amesteca elementul necesare cu oricare dintre celelalte elemente. Acest cod este complet portabil Åi poate fi folosit cu orice formÄ de doar adÄugarea elementele ascunse în mod corespunzÄtor Åi adÄugarea onClick comanda la un buton. |
|
| DupÄ regulile. | |
|
1)
Pentru a seta un câmp obligatoriu utilizarea numele de domeniu existente Åi adÄugaÅ£i
o spiridon la începutul câmpului nume Åi de a crea un element de ascunse.
EXEMPLU: <input type="text" name="your_fieldname"> <input type="hidden" name="r_your_fieldname" value="Required error message goes here">
2)
Pentru a seta un întreg domeniul utilizaÅ£i numele de domeniu existente Åi adÄugaÅ£i
o iulian la începutul câmpului nume Åi de a crea un element de ascunse.
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.
|
|
| Initializare de script-ul. | |
|
You MUST use the type="button" NOT THE type="submit" for your SUBMIT button, the javascript sends the submit for you.
EXEMPLU: <input type=button Value="Button Message Here" onclick="check(form,form.elements.length)"> Acest eÅantion utilizeaza toate instrumentele de validare trei în combinaÅ£ie.
|