Tim,
Please try the following steps:
1. <form name="theForm" ... onsubmit="return addTopic()">
2. <script language="Javascript">
function addTopic()
{
var frm = document.forms.theForm;
frm.action = 'javascript:void(0)'; //stay here unless all checks are passed
if(!frm.TitleField.value)
{
alert("Please add a SUBJECT");
frm.TitleField.focus();
}
else
{
frm.action = 'target.asp';
save(Editor1);
}
}
asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
asp wysiwyg html editor: http://cutesoft.net/ASP
asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
Live Support: http://cutesoft.net/live-support/default.aspx