How can I check if an HTML type field has not been updated?

Rick Forristall
Tera Guru

I'm building a business rule for a custom table. I need to check if an HTML field is in its default state (never had anyone enter data in it). I tried "is empty" but it looks like HTML fields have some default html in it.

Does anyone know if there's a standard way to see if an HTML field has been updated from its default value?


Thanks!

Rick Forristall

Programmer Analyst

Goodwill of Central and Northern Arizona

1 ACCEPTED SOLUTION

Rick Forristall
Tera Guru

OK, here's my work around.



I peeked at the default value in an empty HTML field and it contains this:


<p><br data-mce-bogus="1"></p>



Once someone adds their own information in that HTML field, that default value is no longer present.



So in my business rule's Filter Conditions I'm just checking to ensure the 'data-mce-bogus' is NOT in the field.



That seems to work.


View solution in original post

1 REPLY 1

Rick Forristall
Tera Guru

OK, here's my work around.



I peeked at the default value in an empty HTML field and it contains this:


<p><br data-mce-bogus="1"></p>



Once someone adds their own information in that HTML field, that default value is no longer present.



So in my business rule's Filter Conditions I'm just checking to ensure the 'data-mce-bogus' is NOT in the field.



That seems to work.