Are there any methods to make an instance of Cute Editor become a required field? If not here is my issue: I created an instance of cute editor. At the bottom of the page I have some Javascript that creates an popup alert of the content inside the cute editor. Example:
dim m_LinkDesc
Set m_LinkDesc = New CuteEditor
m_LinkDesc.ID = "m_LinkDesc"
m_LinkDesc.Text = "hello"
m_LinkDesc.FilesPath = "/CuteEditor_Files"
m_LinkDesc.AutoConfigure = "CGLight"
m_LinkDesc.MaxHTMLLength = "2000"
m_LinkDesc.Width = 398
m_LinkDesc.Height = 240
m_LinkDesc.Draw()
<script language="javascript">
alert(document.frm.m_LinkDesc.value);
</script>
All of this works fine......
However, I have an onSubmit method that will check for content inside the editor when the form is submitted.
The onSubmit does the same thing, for now: alert(document.frm.m_LinkDesc.value);
There is nothing there. Why do I lose the content? Does anyone have any suggestions?