AEM 6.2 classic : Threshold plugin with textfield xtype
Hi All,
Guess, there is a Threshold plugin, which when used with RTE, displays an icon in the RTE toolbar indicating whether or not the text content has passed a set of thresholds.The plugin can be configured with a defaultColor configuration property(defaults to green) which will be used when none of the thresholds has been reached.The thresholds themselves are populated by a thresholds configuration property which is a multivalued property 10;yellow, 30;red,which indicates that if there are more than 10 characters, but less than 30,the icon should be yellow and if there are more than 30 characters, the icon should be red.
<thresholds
jcr:primaryType="nt:unstructured"
features="[thresholds]"
thresholds="[10;yellow,30;red]"/>
We need to use this with xtype=textfield. Not sure how is this to be done.
Any thoughts/pointers/reference code will be helpful.