I am using this to call the module:
<cfmodule template="../FCKeditor/fckeditor.cfm" instanceName="EditorBasic" width="300" height="80" toolbarSetName="Basic" canUpload="" canBrowse="" initialValue="#FinContent.SubStory2Text#">
I am exceptionally new to FCKeditor. How to I send/update the information in my Database table, using coldfusion?
The database field name is "Substory2Text" I can store/update the information using a regular "textarea" item, however, I don not know how to go about updating with FCKeditor. I am trying to use it inside of an existing form, which shouldn't be a problem?
All I really need to know is what is the variable name it is passing through/by the form? There isn't a "name" field as there is typically in a regular form so this makes me slightly confused.
I found this line in the fckeditor.cfm file:
<INPUT type="hidden" name="#instanceName#" value="#HTMLEditFormat(initialValue)#">
My brains isn't working right at the moment and I think this should tell me the variable name, but it doesn't.
Please help.
<cfmodule template="../FCKeditor/fckeditor.cfm" instanceName="EditorBasic" width="300" height="80" toolbarSetName="Basic" canUpload="" canBrowse="" initialValue="#FinContent.SubStory2Text#">
I am exceptionally new to FCKeditor. How to I send/update the information in my Database table, using coldfusion?
The database field name is "Substory2Text" I can store/update the information using a regular "textarea" item, however, I don not know how to go about updating with FCKeditor. I am trying to use it inside of an existing form, which shouldn't be a problem?
All I really need to know is what is the variable name it is passing through/by the form? There isn't a "name" field as there is typically in a regular form so this makes me slightly confused.
I found this line in the fckeditor.cfm file:
<INPUT type="hidden" name="#instanceName#" value="#HTMLEditFormat(initialValue)#">
My brains isn't working right at the moment and I think this should tell me the variable name, but it doesn't.
Please help.
RE: ColdFusion - Use FCKEditor to Update Data
This is really beyond the scope of this forum, but...
On the page your FCKeditor is posting to, put <cfdump var="#form#"> at the top. This will dump the entire form structure and will let you see what variables are available.
CFDump is your friend.
RE: ColdFusion - Use FCKEditor to Update Database