// Variable for the version of the field - Display in Props UI. fieldVersion = "2.0.4"; // initialize some of the attributes variables typeid = attributes.typeid; prefix = attributes.prefix; formname = attributes.formname; currentValues = attributes.currentValues; // Setup the default values defaultValues = StructNew(); defaultValues.labelID = ""; defaultValues.labelClass = ""; defaultValues.descptID = ""; defaultValues.descptClass = ""; defaultValues.hideLabelText = false; // This will override the current values with the default values. // In normal use this should not need to be modified. defaultValueArray = StructKeyArray(defaultValues); for(i=1;i<=ArrayLen(defaultValueArray);i++){ // If there is a default value to exists in the current values // AND the current value is an empty string // OR the default value does not exist in the current values if( ( StructKeyExists(currentValues, defaultValueArray[i]) AND (NOT LEN(currentValues[defaultValueArray[i]])) ) OR (NOT StructKeyExists(currentValues, defaultValueArray[i])) ) { currentValues[defaultValueArray[i]] = defaultValues[defaultValueArray[i]]; } }
Label ID:
Please enter the label ID to be used on the <LABEL> tag. If blank, will use the default id.
Label Class Name:
Please enter a class name to be used on the <LABEL> tag. If blank, a class attribute will not be added.

Description ID:
Please enter the description ID to be used on a <DIV> wrapper. If blank, will use the default wrapper font tag.
Description Class Name:
Please enter the description Class to be used on a <DIV> wrapper. If blank, a class attribute will not be added.

Hide Label Text: checked>Yes checked>No
Select YES to hide the label text. Doing this will generate an empty <SPAN> tag that uses the Label ID and/or Label Class Name.

ADF Custom Field v#fieldVersion#