// Variable for the version of the field - Display in Props UI. fieldVersion = "1.0.0"; // initialize some of the attributes variables typeid = attributes.typeid; prefix = attributes.prefix; formname = attributes.formname; currentValues = attributes.currentValues; if (!structKeyExists(attributes.currentValues, "minLen")) attributes.currentValues.minLen = 1; if (!structKeyExists(attributes.currentValues, "maxLen")) attributes.currentValues.maxLen = 10; if (!structKeyExists(attributes.currentValues, "validationErrorMsg") || attributes.currentValues.validationErrorMsg == "") attributes.currentValues.validationErrorMsg = ""; if ( not StructKeyExists(attributes.currentValues, "defaultValue") ) attributes.currentValues.defaultValue = ""; if ( not StructKeyExists(attributes.currentValues, "useUdef") ) attributes.currentValues.useUdef = 0; if ( not StructKeyExists(attributes.currentValues, 'cookieField') ) attributes.currentValues.cookieField = ''; if (!structKeyExists(attributes.currentValues, "autofocus")) attributes.currentValues.autofocus = 0;
Minimum Length: 1 to 100 characters
Maximum Length: 1 to 100 characters
Validation Error Message:
Enter a message for the user if their entry is invalid.
If blank, the message will be in this form:
  Please enter from {min} to {max} numeric characters for the field '{label}'.

ADF Custom Field v#fieldVersion#