If you are unable to create a new account, please email support@bspsoftware.com

 

Cognos Analytics 11.0.7 JavaScript to restrict Maxlength for TextBox prompt

Started by joseph123, 16 Jan 2018 06:29:53 PM

Previous topic - Next topic

joseph123

Hi All


We upgraded Cognos from 10.2 to 11.0.7 and the JavaScript to restrict textbox maxlength is not working which was working in 10.2.

Can any one suggest me the right script in 11.0.7

Here is my 10.2 script

<script language="javascript">
var fW = (typeof getFormWarpRequest == "function" ? getFormWarpRequest() :
document.forms["formWarpRequest"]);
fW._textEditBoxSSNt.maxLength = 4;
</script>