It looks to me it's a bracket thing. If you reformat your code it will be easier to see. Take a look at this:
Code:
if (s!='')
{
alert('The required information is incomplete or contains errors:\t\t\t\t\t\n\n'+s)
document.MM_returnValue = (s=='');
else
return confirm ('This will save your entry so that you .....');
}
There is some odd stuff with your brackets going on. Try this instead:
Code:
if (s!='')
{
alert('The required information is incomplete or contains errors:\t\t\t\t\t\n\n'+s)
document.MM_returnValue = (s=='');
}
else
{
return confirm ('This will save your entry so that you .....');
}
Cheers,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.