Clarity Service Management

Expand all | Collapse all

How can we restrict the length in user name field in CA Service desk manager 17.1

Jump to Best Answer
  • 1.  How can we restrict the length in user name field in CA Service desk manager 17.1

    Posted 05-17-2019 03:20 AM

    Hi Team,

    How can we restrict the length in user name field in CA Service desk manager 17.1.

    I have restricted the length in v12.9 adding max_length in login.htmpl page as mentioned below.

    "<td ><input type="text" id="USERNAME" name="USERNAME" maxlength=12></td>"

     

    However tried to make changes in 17.1 login.htmpl page, did not find the line mentioned above.

     

    please advice how can i proceed with this.

     

    Regards,

    Kripesh



  • 2.  Re: How can we restrict the length in user name field in CA Service desk manager 17.1

    Posted 05-17-2019 03:30 AM

    I assume , you just missed it.

    use bopcfg/www/htmpl/default/login.htmpl as your source. (!but don't change it there!)

    The input field should be there.

    Regards

    ............Michael



  • 3.  Re: How can we restrict the length in user name field in CA Service desk manager 17.1
    Best Answer

    Posted 05-20-2019 04:58 PM

    I saw this in login.htmpl file

    <input type="text" id="USERNAME" name="USERNAME" class="username_password_input">

    maybe you can give this a try...change to

    <input type="text" id="USERNAME" name="USERNAME" class="username_password_input" maxlength="12">

    it works for me.