// Variable for the version of the field - Display in Props UI. fieldVersion = "2.0.3"; // initialize some of the attributes variables typeid = attributes.typeid; prefix = attributes.prefix; formname = attributes.formname; currentValues = attributes.currentValues; if( not structKeyExists(currentValues, "renderField") ) currentValues.renderField = "yes"; if( not structKeyExists(currentValues, "defaultVal") ) currentValues.defaultVal = "no"; if( not structKeyExists(currentValues, "checkedVal") ) currentValues.checkedVal = "yes"; if( not structKeyExists(currentValues, "uncheckedVal") ) currentValues.uncheckedVal = "no"; if( not structKeyExists(currentValues, "fldName") ) currentValues.fldName = ""; if( not structKeyExists(currentValues, "fldClass") ) currentValues.fldClass = ""; if( not structKeyExists(currentValues, "fldDateTime") ) currentValues.fldDateTime = ""; if( not structKeyExists(currentValues, "fldUserID") ) currentValues.fldUserID = ""; if( not structKeyExists(currentValues, "fldDenialMsg") ) currentValues.fldDenialMsg = ""; if( not structKeyExists(currentValues, "deniedVal") ) currentValues.deniedVal = ""; if( not structKeyExists(currentValues, "deniedLabel") ) currentValues.deniedLabel = ""; if( not structKeyExists(currentValues, "approvedLabel") ) currentValues.approvedLabel = "";
Field ID:
Please enter the field name to be used via JavaScript. If blank, will use default name.
Class Name:
Please enter a class name to be used via JavaScript or CSS. If blank, a class attribute will not be added.
Field Display Type: checked>Visible checked>Hidden
Default Field Value: checked>Approved checked>Unchecked checked>Denied
'Denied' can only be used as a default field value if the 'Denied Value' is NOT blank.
Approved Value: (Required)
Indicate the value that is stored when the 'Approved' checkbox is Checked.
Approved Label: (Optional)
Indicate the Label for the Approved checkbox.
Unchecked Value: (Optional)
Indicate the value that is stored when the checkbox is Unchecked. Default is 'no'. This field can also be blank.
Denied Value: (Optional)
Indicate the value that is stored when the 'Denied' checkbox is Checked.
If blank, no check box will display for this option.
Denied Label: (Optional)
Indicate the Label for the Denial checkbox. Will NOT be used if 'Denied Value' above is blank.

Approval Tracking Field Bindings:
Approval User ID Field ID:
Please enter the field ID of the UserID field to pass the current CS User ID to. If blank, no data will be passed to another field.
Approval DateTime Field ID:
Please enter the field ID of the DateTime field to pass the current CS data/time stamp to. If blank, no data will be passed to another field.
Denial Message Field ID:
Please enter the field ID of the Text Area Field to show upon denial. If blank, no data will be passed to another field.

ADF Custom Field v#fieldVersion#