COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: HalfBloodPrince on 28 Jan 2016 12:48:35 AM

Title: Limit Characters entred in Multiline text box
Post by: HalfBloodPrince on 28 Jan 2016 12:48:35 AM
Hi All,

I want to limit the number of chracters entered into a multi line text box 500. i tried
<script type="text/javascript">
getFormWarpRequest()._textEditBoxP_Analyst.maxLength=500;
</script>
but not working in mult line textbox.

please suggest
Title: Re: Limit Characters entred in Multiline text box
Post by: BigChris on 28 Jan 2016 01:59:12 AM
Do you want to limit the length of each line to 500 characters, or do you want the total length of the text box to be limited to 500 characters?
Title: Re: Limit Characters entred in Multiline text box
Post by: HalfBloodPrince on 28 Jan 2016 03:47:25 AM
Total charaters to be 500 in textbox