I'm basically trying to do this: LINK, now, I've used Marc's methods before and SPServices etc, so it must be something ruddy stupid on my part, because everything else from him has worked without issue (thanks Marc BTW!)
So I'm trying use the same method described there to see if there's anything in the rich text column, check the length and fire my validation stuff.
I'm unable to replicate Marcs method and I've tried various creations of my own, some a bit hopeful I'll admit, what hasn't worked is this for example:
I wonder if because I've altered my forms a little, that may be the reason the code doesn't work 'out of the box', here's a screenshot of my html:
Could anyone steer me towards a solution?
The code that is suggested by Marc to read the contents of the text box is:
var systemInformation = $("textarea[Title='Requirements']").closest("span").find("iframe[Title='Rich Text Editor']").contents().find("body").html();
Which I can't get to work... for info, the error message is simply
"Object doesn't support this property or method" on all variations that I try to run.