Hi There
I also have a problem with a javascipt in one of my content pages. I have a form that I used in an old website(before CMS) and to that form I have a "java validation script" to validate the fields..
I have tried to insert with the "literal" tags in the actual page, but it wont validate...Maybe you have and idea of what to do..?
see the script here:
Best regards Bo
{literal}
function validering()
{
error = 0;
if((document.forms[0].hvordanfandtdu.value=='') && (error==0))
{
alert('Husk at vaelge hvordan du fandt MindTrack Coaching!');
document.forms[0].hvordanfandtdu.focus();
error = 1;
}
if(error == 0)
document.forms[0].submit();
}
// Slut -->
{/literal}
jmcgin51 wrote:
paste
{literal}{/literal}
into your source code (HTML view)
when you view the WYSIWYG, you'll just see the {literal}{/literal} tags, but the JS will be there in the source.