/sbk
Jeg har kopieret noget af den kode jeg har lavet hidtil... jeg forstår ikke helt hvor du vil sætte en <body onLoad="sendsvar()"> ind!
Håber på svar!
<html>
<head>
<meta http-equiv="Content-Language" content="da">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>
www.FlexExpo.com</title><LINK title=std href="../style.css" type=text/css rel=stylesheet>
</head>
<body topmargin="0" leftmargin="0">
<script Language="JavaScript"><!--
function FrontPage_Form1_Validator(theForm)
{
if (theForm.Navn.value == "")
{
alert("Please fill in \"Name\" field.");
theForm.Navn.focus();
return (false);
}
if (theForm.Firma.value == "")
{
alert("Please fill int \"Company\" field.");
theForm.Firma.focus();
return (false);
}
if (theForm.Adresse.value == "")
{
alert("Please fill in \"Address\" field.");
theForm.Adresse.focus();
return (false);
}
if (theForm.Postnr.value == "")
{
alert("Please fill in \"Postal code\" field.");
theForm.Postnr.focus();
return (false);
}
if (theForm.By.value == "")
{
alert("Please fill in \"Town\" field.");
theForm.By.focus();
return (false);
}
if (theForm.Land.value == "")
{
alert("Please fill in \"Country\" field.");
theForm.Land.focus();
return (false);
}
if (theForm.Email.value == "")
{
alert("Please fill in \"E-mail\" field.");
theForm.Email.focus();
return (false);
}
return (true);
}
//--></script>
<table border="0" width="582" height="385" cellspacing="0" cellpadding="35">
<tr>
<td width="80%" valign="top">
<form action="
http://scripts.scannet.dk/form2mail.asp" method="post" onsubmit="return FrontPage_Form1_Validator(this)" name="FrontPage_Form1">
<input type="hidden" name="recipient" value="hen@flex-design.dk">
<input type="hidden" name="subject" value="Download af FlexExpo(Win)">
<input type="hidden" name="redirect" value="
http://www.flexexpo.com/sits/DownloadDemoWin.htm"><input type="hidden" name="return_link_url" value="
http://www.flexexpo.com/sits/DownloadDemoWin.htm"><p><span class="brodtekst"><span class="orange">Downloads</span></span></p>