// 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];
// 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);
application.ADF.scripts.loadJQuery();
application.ADF.scripts.loadJQuerySelectboxes();
application.ADF.scripts.loadJQueryUI();
Error: Please return to the Site Administrator/Elements and select a field to bind to in the "Other Properties" tab of this field
// retrieve the parameters for the field connecting to
fieldParams = application.ADF.ceData.getFieldParamsByID(listLast(xParams.formField, "_"));
Get elements from selected page
Select the element from the list - this will be the element that is targeted for the CCAPI call.
#application.ADF.forms.wrapFieldHTML(inputHTML,fieldQuery,attributes,variables.fieldPermission,includeLabel,includeDescription)#