Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11508

Multi-line text field length

$
0
0

I would like to check if a multi-line text field is empty using javascript/jquery.

The default field length is 11.  If I trim the spaces, the field still occupies 11 characters.  How can i test the field to be empty?  It contains non displayable characters.  They look like spaces when displayed in an alert but triming the spaces still leaves the value at 11 positions.

If you type something into the field, the first 11 characters take up the 11 default positions.  So the length is always a minimum of 11 characters.  (Even if blank).



Viewing all articles
Browse latest Browse all 11508

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>