Visionmagic nu har jeg hentet et script fra
http://www.simplythebest.net/info/dhtml_forms.htmlmen det virker ikke, det bliver ignoreret ... hvad gør jeg galt?
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\">
<LINK href=\"/dc2001.css\" type=text/css rel=STYLESHEET>
<script language=\"JavaScript\">
<!--
function checkData(){
if (document.signup.firstname.value == \"\") {
alert(\"Please fill in your first name\".\")
document.signup.firstname.focus()
return false}
if (document.signup.lastname.value == \"\") {
alert(\"Please fill in your last name.\")
document.signup.lastname.focus()
return false}
if (document.signup.email.value == \"\") {
alert(\"Please fill in your first e-mail.\")
document.signup.email.focus()
return false}
if (document.signup.telephone.value == \"\") {
alert(\"Please fill in your telephone.\")
document.signup.telephone.focus()
return false;
}
}
// -->
</script>
</head>
<body text=\"#000000\" link=\"#FF9900\" vlink=\"#FF6600\" alink=\"#FFCC00\" background=\"/Files/gif/dc_background2.gif\" leftmargin=\"40\" topmargin=\"10\" marginwidth=\"40\" marginheight=\"10\" bgcolor=\"#FFFFFF\">
<p><img src=\"/Files/gif/DC_top_worksheet.gif\" width=\"360\" height=\"56\"></p>
<p> </p>
<table width=\"500\" border=\"0\">
<tr>
<td><span class=\"contentTextSmall\">The more information that you can supply
us with in this worksheet, the more informed and useful our response will
be to you. Don\'t worry if you are not sure of all the details-- we will
be happy to work with you to hone in on what functionality will best suit
your needs!</span></td>
</tr>
</table>
<p> </p>
<p> <b><span class=\"contentTextBig\">CONTACT INFORMATION (* required)<br>
</span></b></p>
<table width=\"500\">
<tr>
<td>
<form action=\"
http://scripts.scannet.dk/form2mail.asp\" method=\"post\" onsubmit=\"checkData()\">
<input type=\"hidden\" name=\"recipient\" value=\"lasseehlers@email.dk\">
<input type=\"hidden\" name=\"fromaddress\" value=\"le@digicraft.dk\">
<input type=\"hidden\" name=\"subject\" value=\"Online Web Site Planning Worksheet Request\">
<input type=\"hidden\" name=\"redirect\" value=\"
http://www.digicraft.dk/thank.htm\"> <input type=\"hidden\" name=\"return_link_url\" value=\"
http://www.digicraft.dk/thank.htm\"> <input type=\"hidden\" name=\"Sort\" value=\"order:firstname,lastname,company,email,address,
address2,city,state,ZIP,telephone,fax,web_site,business_nature2,business_nature,
business_nature2,audience,exist_brand,branding,compet_websites,interactivite_forms,
addl_features2,OTHER_FUNCTIONALITY,interactivite_forms242,want_admin,total_no_of_pages,
type_of_products,selling_products,image_prep_ready,image_prep_edit,image_prep_scan,
design_features,design_features,design_features2,design_features22,
current_promo2,other_curr_promo2,promo_plans,other_future_ads,hosting,
budgetUS,budgetDK,Start Month,Start Day,Start Year,
total_other_comments,SUBMIT.X,SUBMIT.Y\">