<script language="JavaScript"> <!-- function Form_Validator(theForm) {
if (theForm.hosneve.value == "") { alert("Krlek rj be valamit a hs nevhez! Mgsem kereshetek neked egy nvtelen hst :)"); theForm.hosneve.focus(); return (false); }
if (theForm.hosneve.value.length < 1) { alert("Te! Azert legalbb egy karakter hossz hsnevet illene megadni, nem gondolod?"); theForm.hosneve.focus(); return (false); }
if (theForm.hosneve.value.length > 20) { alert("Na nzd a kis megalomnt! Le van rva feketn-fehren, hogy a hs neve maximum 20 karakteres lehet..."); theForm.hosneve.focus(); return (false); }
if (theForm.passwd.value == "") { alert("Olyan nincs, hogy nincs jelsz :)"); theForm.passwd.focus(); return (false); }
if (theForm.passwd.value.length < 1) { alert("Olyan nincs, hogy nincs jelsz :)"); theForm.passwd.focus(); return (false); }
if (theForm.passwd.value.length > 8) { alert("Figyu! A jelsz maximum 8 karakteres lehet! Ok?"); theForm.passwd.focus(); return (false); } return (true); } //--> </script>
<form method="POST" action="http://hosember.hu/cgi-pf/hosember.cgi" onsubmit="return Form_Validator(this)" name="hoshivas_form" target=blank> <input type="hidden" name="action" value="0"><strong>Hsd neve:<br /></strong> <input type="text" name="hosneve" size="20" maxlength="20" style="WIDTH: 90px"> <strong><br />Gyrtsi szm:<br /></strong> <input type="password" name="passwd" size="20" maxlength="8" style="WIDTH: 90px"> <br /><input type="submit" value="Megjttem!" name="jovok" style="WIDTH: 90px"> </form>
|