Now I figured out the error. The problem was in the subsequent If condition. Basically, Dynamics, in it's infinite wisdom decides to take forever to load subgrids. As such, one cannot hide a subgrid on page load, which is what I was attempting. I worked around the issue by putting the subgrid into a unique section along with a few other fields that I needed to hide in the same situation anyway. Then changed the JavaScript to hide the entire section, not just the subgrid. BOOM - problem went away. Thank you for your help!
↧
Forum Post: RE: Waiting for a control to Load to allow for a field to be checked for tab visibility
↧