URL: test site url
It was working after all . I only thought the same page would be loaded again, but it went to the system page confirmation page. This page loaded the default template for which the JavaScrips and CSS files were missing. That is why the page loaded the menu and a plain white background. So it looked like all was broken while it was working. I adjusted that and made sure people saw that the message was sent. I also used FullName instead of FirstName and LastName:
<label>Name:<span class="req">*</span></label>
<input type="text" name="FullName" id="FullName" class="cat_textbox" maxlength="255" />
</div>
and this script to validate all:
<script type="text/javascript" src="http://domain.businesscatalyst.com/CatalystScripts/ValidationFunctions.js"></script>
<script type="text/javascript">
//<![CDATA[
var submitcount9132 = 0;
function checkWholeForm9132(theForm){var why = "";
if (theForm.FullName) why += isEmpty(theForm.FullName.value, "Full Name");
if (theForm.EmailAddress) why += checkEmail(theForm.EmailAddress.value);
if(why != ""){alert(why);return false;}if(submitcount9132 == 0){submitcount9132++;theForm.submit();
return false;}else{alert("Form submission is in progress.");
return false;}}
//]]>
</script></form>
The form is redirected to a page now that is OK looking and the form copy is sent to the sender. But the FullName field does not seem to get stored. First and last name are stored as "filled in" though. What if I need the name to be shown besides the subject and message?