function showReqFld(){ var pBlk=parent.document.getElementById('spnStat').innerHTML; if(!pBlk||pBlk.match("Edit")) { for (i=0;i<Page_Validators.length;i++) { if(Page_Validators[i].innerHTML.match('Required'))Page_Validators[i].style.display="block"; } } parent.document.getElementById('loading').style.display="none"; }which works well if the forms don't use UserControls. However, I wanted to simplify maintenance and replaced several controls with UserControls. Now this logic no longer works. Do you know what should I do to be able to fix the problem?