Skip to main content
Nintex Community Menu Bar

Hi

 

I have a requirement that requires a text area to allow only 35 characters per line. The maximum number of lines is also not to exceed 50.

 

Are there any custom controls available to do this OR Javascript/Regex?

Hi K2 Dev;

 

I think this can quickly be achieved using the width=35% , and height<50% for e.g as follows:-

<script type="text/javascript">$(document).ready(function(){      $("#textAreaId").width(35);
});
</script>

 Also see this content:-

https://community.k2.com/t5/K2-blackpearl-Articles/Dynamic-increase-height-of-Text-Area-control/ta-p/91051

 

regards;

widson.


Reply