Get Hidden field names on form: Dynamics CRM 2011/2013

This script will alert all hidden field names on form:

var attributes =;

var hiddenAttributes = ”;

Xrm.Page.ui.controls.forEach(function (control, index)

{ if (control.getVisible() == false) { hiddenAttributes += control.getName() + ‘,’;


} );



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s