This is a multi-part message in MIME format.
------=_NextPart_000_0014_01C6115A.FAC52230
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
I have to validate a form witch is like this. It works well exept for =
whats in bold. It should then connect thru a recordsett and check =
another table in the database for a simular number. This it will not do. =
Nothing seems to happend. I must have done somthing wrong so i hove ther =
is someone who can help me.
KOS
<%
' Start trigger
Dim formValidation: Set formValidation =3D new tNG_FormValidation
formValidation.Init
formValidation.addField "fornavn", true, "text", "", "", "", "Fyll inn =
ditt fornavn"
formValidation.addField "etternavn", true, "text", "", "", "", "Fyll inn =
ditt etternavn"
formValidation.addField "epost", true, "text", "email", "", "", "Fyll =
inn din e post adresse"
formValidation.addField "crewnr", true, "regexp", "{crewnr} =3D =
{rs_sjekkAnsattnummer.ansattnummer}", "", "", "Fyll inn ditt =
ansattnummer"
formValidation.addField "passord", true, "text", "", "", "", "Du m=E5 =
velge deg et passord"
tNGs.prepareValidation formValidation
' End trigger
------=_NextPart_000_0014_01C6115A.FAC52230
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.2802" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2>I have to validate a form witch is like =
this. It
works well exept for whats in bold. It should then connect thru a =
recordsett and
check another table in the database for a simular number. This it will =
not do.
Nothing seems to happend. I must have done somthing wrong so i hove ther =
is
someone who can help me.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>KOS</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><%<BR>' Start trigger<BR>Dim =
formValidation: Set
formValidation =3D new
tNG_FormValidation<BR>formValidation.Init<BR>formValidation.addField =
"fornavn",
true, "text", "", "", "", "Fyll inn ditt =
fornavn"<BR>formValidation.addField
"etternavn", true, "text", "", "", "", "Fyll inn ditt
etternavn"<BR>formValidation.addField "epost", true, "text", "email", =
"", "",
"Fyll inn din e post adresse"<BR>formValidation.addField "crewnr", true, =
"regexp", "{crewnr} =3D =
<STRONG>{rs_sjekkAnsattnummer.ansattnummer}",</STRONG> "",
"", "Fyll inn ditt ansattnummer"<BR>formValidation.addField "passord", =
true,
"text", "", "", "", "Du m=E5 velge deg et =
passord"<BR>tNGs.prepareValidation
formValidation<BR>' End trigger</FONT></DIV></BODY></HTML>
------=_NextPart_000_0014_01C6115A.FAC52230--
