해결됨
Disabling a textbox in Dialog if its value is not Null
I want to disable a textbox in a dialog in page properties if its value is equal to not null or not blank.
I want to disable a textbox in a dialog in page properties if its value is equal to not null or not blank.
Hi Rajat,
You can add a listener on loadcontent event & find the textbox using getByName method. Please find kind of method in below.
function(dialog) {
var multiField = dialog.getByName('txtName');
if(multiField != null)
{
multiField.setDisabled(false);
}
}
Hope this helps you :-).
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.