// Variable for the version of the field - Display in Props UI.
fieldVersion = "2.0.6";
// initialize some of the attributes variables
typeid = attributes.typeid;
prefix = attributes.prefix;
formname = attributes.formname;
currentValues = attributes.currentValues;
if( not structKeyExists(currentValues, "numberOfStars") )
currentValues.numberOfStars = 5;
if( not structKeyExists(currentValues, "halfStars") )
currentValues.halfStars = 0;
if( not structKeyExists(currentValues, "uiTheme") )
currentValues.uiTheme = "ui-lightness";
application.ADF.scripts.addFooterJS(cftFooterJS,"TERTIARY");