That Length formula doesn't work.

I put the following code in the top of my page.

ProcessOverview Value = "$doc.getValue('processOverview')"
ProcessOverview Length = $doc.getValue('processOverview').length()

I then put a value of "a" in the processOverview textArea and saved it.  The
result is below:

<http://xwiki.475771.n2.nabble.com/file/n7589776/ProcessOverview_With_Value.png>
 

I then emptied the processOverview textArea of anything and saved it.  The
result is below:

<http://xwiki.475771.n2.nabble.com/file/n7589776/LengthStill1.png> 

I was wondering if the system is inserting a carriage return or something in
the empty field.  So I looked at the HTML code and it only has a <p> node
above the empty text node.  



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Detect-Empty-Fields-tp7589773p7589776.html
Sent from the XWiki- Dev mailing list archive at Nabble.com.
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to