Validate Multi line Rich Text
Posted by Christy - Nov 2 ’16 at 11:18
How can I tell if a multi line rich text field is empty. Neither of these worked:
if (fd.field('NatureOfChange').value() == '<p></p>')
or
if (fd.field('NatureOfChange').value() == '"")
-
munmonMemberMember for: 6 years 6 months 26 days
Anything on this? I having the same issue.
-
YuriyMedvedevModeratorMember for: 6 years 8 months 2 days
Hi! Use this code, please:
if(!fd.field('Rich').control()._el().find('div.ms-rtestate-write').text().replace(/\W/g, '')) {/* your code if field is empty*/ };
Displaying 1 to 2 of 2 messages