Author Topic: Cognos Analytics 11.0.7 JavaScript to restrict Maxlength for TextBox prompt  (Read 300 times)

Offline joseph123

  • Full Member
  • ***
  • Join Date: Dec 2007
  • Posts: 26
  • Forum Citizenship: +0/-0
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>

 


       
Twittear