29.07.2021, 10:44
(14.11.2019, 08:12)admin Wrote: Use this Custom JavaScript. It will switch input type to password if your object element has password class and revert to text otherwise.
Code:$(function(){
var _preConfigureControl = preConfigureControl;
preConfigureControl = function(widget, el, type, main) {
if (type == 'textinput') {
var password = widget.el.hasClass('password');
el.find('input').attr('type', password ? 'password' : 'text');
}
return _preConfigureControl(widget, el, type, main);
}
});
It seems that it doesn't work using "Inline in Usermode" on a 250 byte string input box... Is it possible?
I need to mask the input of a password value stored inside a 250 byte string address.
Is there any way to do it?
Thanks
Thanks.