// the fields current value currentValue = attributes.currentValues[fqFieldName]; // the param structure which will hold all of the fields from the props dialog xparams = parameters[fieldQuery.inputID]; // Validate if the property field has been defined if ( NOT StructKeyExists(xparams, "fldID") OR LEN(xparams.fldID) LTE 0 ) xparams.fldID = fqFieldName; // Set defaults for the label and description includeLabel = true; includeDescription = true; //-- Update for CS 6.x / backwards compatible for CS 5.x -- // If it does not exist set the Field Permission variable to a default value if ( NOT StructKeyExists(variables,"fieldPermission") ) variables.fieldPermission = ""; //-- Read Only Check w/ cs6 fieldPermission parameter -- readOnly = application.ADF.forms.isFieldReadOnly(xparams,variables.fieldPermission); // Get all the CS Site Query for the site csSiteQry = application.ADF.csData.getCommonSpotSites(); #application.ADF.forms.wrapFieldHTML(inputHTML,fieldQuery,attributes,variables.fieldPermission,includeLabel,includeDescription)#