Report Parameter as Password Input

(3 posts) (2 voices)


No tags yet.

  1. Fadi Nofal, Member

    Dear Team,

    I Need to Format Report Parameter as PASSWORD INPUT to mask the entry when user run the report.

    Thank you for your help ...

  2. myDBR Team, Key Master

    To change the input type to be a password field, do following:

    • Add a class to the password parameter. To add a class 'password', row edit → Report parameters, Options → Add a class → password.
    • Change the type to password field via JavaScript in Help/JavaScript -field:

    $(document).ready(function() {
    $('.param_input .password input').attr('type', 'password');

    You could also directly change the paramerer via it's position, but doing it via a CSS class allows for you to change report parameters without any change in the code above.

    myDBR Team

  3. Fadi Nofal, Member

    Thanks a lot myDBR Team it's working ...


You must log in to post.