Skip to main content

There is an article discussing how to accomplish it  HERE. However I have been uable to get it to work in the latest version of Smartforms. Any suggestions?

 

Thanks

 

Dave

 

 

Hi FrozenForms,

 

        This works fine, make sure youare adding script inside opening and closing <script> tag

 

You can also refer a example Textbox control for Password field with Mask  to achive same.

 

 

let me know if this helps you.

 


Hi Kran,

 

For just masking a field called IDtxtBox, does this sript look correct?

 

<script> $(window).ready(function(){

var passwordField = $(‘inputnname=”IDtxtBox”]’);

passwordField.get(0).type = ‘password’</script>

 

I have tested this without success so it must be incorrect.


Hi FrozenForms,

 

There is sentex error in query, at the end before closing script tag  "});" was missing.

 

Please try this.

 

 

<script>

$(window).ready(function(){
var passwordField = $('input[name="IDtxtBox"]');
passwordField.get(0).type = 'password';
});

</script>

 

you can use jsFiddle to test your jQuery, reffer below screenshot.

 

 


That was it! Thanks so much!

 


Reply