// Variable for the version of the field - Display in Props UI.
fieldVersion = "1.0.1";
// initialize some of the attributes variables
typeid = attributes.typeid;
prefix = attributes.prefix;
formname = attributes.formname;
currentValues = attributes.currentValues;
if( not structKeyExists(currentValues, "filePath") )
currentValues.filePath = "";
if( not structKeyExists(currentValues, "filetypes") )
currentValues.filetypes = "txt,pdf";
application.ADF.scripts.loadJQuery(noConflict=true);