Hi,
hab mal wieder ein problem:
wohl immer noch das selbe... *g*
--------------------------------------------------------------------
<html>
<head>
<script>
function c()
{
if (!/\d{9}/.test(f.x.value))
{
alert ('Error!')
f.x.focus()
return false
}
return true
}
</script>
<head>
<body>
<form name="f" method="post" action="xyz.htm" onsubmit="return c();">
<input type="text" name="x" value="" maxlength="9">
<input type="submit" value="ok">
</form>
</body>
</html>
--------------------------------------------------------------------
so long
dKi ;-)