[CODE]<script type=”text/javascript”>
function validate() {
if (document.UploadForm.SongName.value == “”) {
window.alert(“Oops, you forgot to enter a Song Name.”);
return false;
}
if (document.UploadForm.ArtistName.value == “”) {
window.alert(“Oops, you forgot to enter an Artist or Band Name.”);
return false;
}
if (document.UploadForm.Genre.value == “”) {
window.alert(“Oops, you forgot to enter a genre for the song.”);
return false;
}
return true; window.open(‘form.htm’,”,’width=370,height=115′, true);
}
</script>
The above is my code to validate a form of mine. When everything validates sucessfully, then I want it to open a popup window as well as continue the form’s Action. I know that I did something wrong towards the end. Can anybody find it? Thanks in advance!!