I looking for a Jscript that allows me to make read-only all the controls (fields, picklists, lookups, check-boxes, etc) contained within a particular tab (i.e. tab2Tab) in a CRM form (i.e. accounts).
If this cannot be done at the tab level, then the Jscript should loop through all the controls making them ready-only.
Important: the Jscript cannot contain the actual names of the controls as there are more than 40 and they will change overtime making the Jscript maintenance very time consuming. In other words, the Jscript should adapt itself dynamically to detect the all the controls within that particular tab every time the form is opened.