</head>
<body>
<div id="header"><?php include("include\header.inc");?></div>
<div id="footer"><?php include("include\footer.inc");?></div>
<div id="content">
<p>
<script language="JavaScript">
<!--
function formCheck(formobj){
// Enter name of mandatory fields
var fieldRequired = Array("naam", "straat", "huisnr1", "huisnr2","pcode1", "pcode2", "plaats", "telefoon", "email", "inschrijfnr", "reknum", "bank", "artiest");
// Enter field description to appear in the dialog box
var fieldDescription = Array("naam", "straat", "huisnr1", "huisnr2","pcode1", "pcode2", "plaats", "telefoon", "email", "inschrijfnr", "reknum", "bank", "artiest");
// dialog message
var alertMsg = "U bent vergeten onderstaande velden in te vullen:n";
var l_Msg = alertMsg.length;
for (var i = 0; i < fieldRequired.length; i++){
var obj = formobj.elements[fieldRequired[i]];
if (obj){
switch(obj.type){
case "select-one":
if (obj.selectedIndex == -1 || obj.options[obj.selectedIndex].text == ""){
alertMsg += " - " + fieldDescription[i] + "n";
}
break;
case "select-multiple":
if (obj.selectedIndex == -1){
alertMsg += " - " + fieldDescription[i] + "n";
}
break;
case "text":
case "textarea":
if (obj.value == "" || obj.value == null){
alertMsg += " - " + fieldDescription[i] + "n";
}
break;
default:
}
if (obj.type == undefined){
var blnchecked = false;
for (var j = 0; j < obj.length; j++){
if (obj[j].checked){
blnchecked = true;
}
}
if (!blnchecked){
alertMsg += " - " + fieldDescription[i] + "n";
}
}
}
}
if (alertMsg.length == l_Msg){
[b]// 8><
//HIER MOET DE VERWIJZING KOMEN
<form action=bandverw.php name="form1" method="post" >
// ><8 [/b]return true
}else{
alert(alertMsg);
return false;
}
}
</script>
<form onSubmit="return formCheck(this);" METHOD="post">
<p align="center"><b>(Gegevens in lichtgeel gekleurde veld zijn voor administratie doeleinden en wordt niet weergegeven)</b> </p>
<table width="645" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFCC">
<tr>
<td width="356"><div align="left"><strong>Naam:
<input name="naam" type="text" id="naam">
</strong></div></td>
<td width="273"> </td>
<td width="395"> </td>
</tr>
<tr>
<td><div align="left"><strong>Straat:
<input name="straat" type="text" id="straat">
</strong></div></td>
<td><strong>Nr:
<input name="huisnr1" type="text" id="huisnr12" size="4" maxlength="4">
<input name="huisnr2" type="text" id="huisnr22" size="2" maxlength="2">
</strong></td>
<td><strong>Postcode:
<input name="pcode1" type="text" id="pcode12" size="4" maxlength="4">
-
<input name="pcode2" type="text" id="pcode22" size="2" maxlength="2">
</strong></td>
</tr>
<tr>
<td><strong>Plaats:
<input name="plaats" type="text" id="plaats2">
</strong></td>
<td><strong>Tel.nr:
</strong></td>
<td><strong>
<input name="telefoon" type="text" id="telefoon">
</strong></td>
</tr>
<tr>
<td><strong>E-mail:
<input name="email" type="text" id="email">
</strong></td>
<td><strong>Inschrijfcode: </strong></td>
<td><strong>
<input name="inschrijfnr" type="text" id="inschrijfnr">
</strong></td>
</tr>
<tr>
<td><strong>Rek.nr:
<input name="reknum" type="text" id="reknum">
</strong></td>
<td><strong>Bank:
</strong></td>
<td><strong>
<input name="bank" type="text" id="bank2">
</strong></td>
<td> </td>
</tr>
</table>
<p><strong><p align="center"><strong>Artiest/ Bandnaam</strong>:
<p align="center"><input name="artiest" type="text" id="artiest">
</p>
<p><strong><p align="center"><strong>Regio: </strong></p>
<p align="center"><select name=regio>
<option value=Noord_Holland selected>Noord Holland</option>
<option value=Zuid_Holland>Zuid Holland</option>
<option value=Zeeland>Zeeland</option>
<option value=Utrecht>Utrecht</option>
<option value=Brabant>Brabant</option>
<option value=Limburg>Limburg</option>
<option value=Groningen>Groningen</option>
<option value=Friesland>Friesland</option>
<option value=Drenthe>Drenthe</option>
<option value=Flevoland>Flevoland</option>
<option value=Overijssel>Overijssel</option>
<option value=Gelderland>Gelderland</option>
</select>
<p><strong><p align="center"><strong>muzieksoort/repertoire</strong>:
<p align="center"><input name="soort" type="text" id="soort">
</p>
<p><strong><p align="center"><strong>Info:</strong></p>
<p><strong>
<p align="center"><textarea name="info" cols="100" rows="10" id="info"></textarea>
</p>
<p> </p>
<p><p align="center"> Foto <a href="upload.php" onClick="window.open('upload.php','upload',
'width=300,height=300,scrollbars=no,toolbar=no,location=no'); return false">Uploaden</a>
<p align="center">
<input type="submit" name="Submit" value="Verstuur">
<p>
<p> </p>
</form>
<p> </p>
<p> </p>
</div>
</body>
</html>