I'm sure this is really easy, probably some change which I don't know about, but here goes...
I have a home-grown CMS system that's worked GREAT for me these past 9 years. Of course, it's gone through many upgrades over the years, but recently a CFIF statement issue arose.
Over the years, I've used both FCK Editor and TinyMCE WYSIWYG textareas. With these, as many of you know, they automatically populate the textarea with this:
If the user doesn't enter anything into the editor box, I don't want this code written to the database, so, I had the following CFIF identify and remove this code:
<cfif form.mytext eq '<p> </p>'><cfset form.mytext = ''></cfif>
Unfortunately, this stopped working (ANNOYING!!!) I tried 'contains' instead of equal, but obviously that doesn't work if they have this code anywhere in their content. I tried 'contains', then tried to trim off the first 13 characters...THEN see if there was anything in the field, but thought that was dumb, so I figured I'd post this as there was probably some change I haven't come across yet.
Any idea why this would have stopped working and what I should be using to catch and remove this code?