Skip navigation
wakeen
Currently Being Moderated

textarea (WYSIWYG text editor) - the html code generated won't save into my DB table.....

Jul 12, 2012 5:06 AM

Hi CF guys,

 

I have a textarea form on my page...and I made my textarea field like an Editor for my content to be able modify(font,headings,alignment etc).

But when I'm about to insert it to my DB table, insert won't continue.

I've set my table column as LongText data-type....

 

I made some testing and debugging and found out that the problem is the generated code produced by my text editor. IS there any possible solution on this one? I badly needed to use the Text Editor and save values into my Database.

 

 

Any help or suggestions?

 

BTW...I used the Tiny MCE and the ckeditor =)

 

Thanks!

 
Replies
  • Currently Being Moderated
    Jul 12, 2012 5:50 AM   in reply to wakeen

    You said the insert won't continue.  What actually happens?  Do you get an error?

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 13, 2012 9:45 AM   in reply to wakeen

    The problem might be the display of the record on a web page when you select it back.  You can run your query outside ColdFusion if you want.  Alternatively, on the page where you are attempting to display the record, view the html source code.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points