Is it possible to validate that the editor field has some content in it? I've tried referencing it with javascript by it's "instanceName" with no luck. If I make the formfield a textbox instead of an FCKEditor field it will validate required.
Here's the js snippet:
if (document.GetData.body1.value =='')
{display_list = display_list + 'Body \n'}
<cfmodule template="../../fckeditor/fckeditor.cfm"
basePath="/sitebuilder/tools/fckeditor/"
instanceName="body1"
checkBrowser="true"
value="#body1#"
width="550"
height="350"
type="SiteBuilder"
filepath=""
toplevel="#application.share_root#images\#application.domain#\community_news\"
fieldname="body1"
formname="GetData"
html="#HTMLEditFormat(body1)#"
maxsize="2000"
initimgpath="#application.share_root#images\#application.domain#\community_news\">
Here's the js snippet:
if (document.GetData.body1.value =='')
{display_list = display_list + 'Body \n'}
<cfmodule template="../../fckeditor/fckeditor.cfm"
basePath="/sitebuilder/tools/fckeditor/"
instanceName="body1"
checkBrowser="true"
value="#body1#"
width="550"
height="350"
type="SiteBuilder"
filepath=""
toplevel="#application.share_root#images\#application.domain#\community_news\"
fieldname="body1"
formname="GetData"
html="#HTMLEditFormat(body1)#"
maxsize="2000"
initimgpath="#application.share_root#images\#application.domain#\community_news\">