I'm not sure why this is such a problem. Html isn't regular text and shouldn't be treated as such, that's why htmltext is a separate property from text.
If the current behavior was changed, I'm sure it would cause backward compatibility problems. If you want to check if a field is empty - if field "myField" is empty - works fine as does - if the text of field "myField" is empty Pete lcSQL Software <http://www.lcsql.com> Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html> On Wed, Mar 19, 2014 at 11:36 AM, Scott Rossi <sc...@tactilemedia.com>wrote: > Maybe it helps (or hinders) to consider the fact the following renders as > empty in a web browser, even though clearly there is code content present: > > <html> > <body> > </body> > </html> > > So given what HTML is, checking if the HTML content of a field is empty > doesn't really compare to checking if the code content of a field is empty. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode