validate form
am 04.01.2006 18:16:27 von KOSThis 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
charset=3Diso-8859-1">
this. It=20
works well exept for whats in bold. It should then connect thru a =
recordsett and=20
check another table in the database for a simular number. This it will =
not do.=20
Nothing seems to happend. I must have done somthing wrong so i hove ther =
is=20
someone who can help me.
' Start trigger
Dim =
formValidation: Set=20
formValidation =3D new=20
tNG_FormValidation
formValidation.Init
formValidation.addField =
"fornavn",=20
true, "text", "", "", "", "Fyll inn ditt =
fornavn"
formValidation.addField=20
"etternavn", true, "text", "", "", "", "Fyll inn ditt=20
etternavn"
formValidation.addField "epost", true, "text", "email", =
"", "",=20
"Fyll inn din e post adresse"
formValidation.addField "crewnr", true, =
"regexp", "{crewnr} =3D =
{rs_sjekkAnsattnummer.ansattnummer}", "",=20
"", "Fyll inn ditt ansattnummer"
formValidation.addField "passord", =
true,=20
"text", "", "", "", "Du m=E5 velge deg et =
passord"
tNGs.prepareValidation=20
formValidation
' End trigger
------=_NextPart_000_0014_01C6115A.FAC52230--