Hi ,
I am trying to make a custom field mandatory based on the value of another custom field using SIL script.
if (argv["customfield_17000"] == "Digital ad" ){
lfShow("customfield_18600"); //Gifs or HTML5
lfShowFieldMessage("customfield_18600", "Field is required", "WARNING");
lfShow("customfield_18601"); //Maximum file size
lfShowFieldMessage("customfield_18601", "Field is required", "WARNING");
lfDisable("editSubmit");
But submit button is not getting disabled. Please help me to resolve this