docs: @Override
  	public String getValue(URI uri, String url, String fieldId, String defaultValue, List<String> definedValues, Map<String, String> envAttributes, Map<String, String> fieldAttributes) {
  
  		//If there is a default value provided, return it
  		if (!defaultValue.isEmpty()){
  			return defaultValue;
  		}
  
  		if (fieldAttributes.get("Control Type").equalsIgnoreCase(FormControlType.TEXT.toString())) {
  			// Converted FormControlType to String to allow for case insensitive comparison
  			// If the control type was reduced to a TEXT type by the Jericho library, check the
  			// HTML5 type and use proper values
  			String type = fieldAttributes.get(ATTR_TYPE);
  			if (type == null || type.equalsIgnoreCase("text")) {
  				return DEFAULT_TEXT_VALUE;
  			}
  			if (type.equalsIgnoreCase("number") || type.equalsIgnoreCase("range")) {
  				String min = fieldAttributes.get("min");
  				if (min != null) {
  					return min;
  				}
  				String max = fieldAttributes.get("max");
  				if (max != null) {
  					return max;
  				}
  				return DEFAULT_NUMBER_VALUE;
  			}
  			if (type.equalsIgnoreCase("url")) {
  				return "http://www.example.com";
  			}
  			if (type.equalsIgnoreCase("email")) {
  				return "foo-bar@example.com";
  			}
  			if (type.equalsIgnoreCase("color")) {
  				return "#ffffff";
  			}
  			if (type.equalsIgnoreCase("tel")) {
  				return "9999999999";
  			}
  			if (type.equalsIgnoreCase("datetime")) {
  				SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'");
  				return format.format(getDefaultDate());
  			}
  			if (type.equalsIgnoreCase("datetime-local")) {
  				SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss");
  				return format.format(getDefaultDate());
  			}
  			if (type.equalsIgnoreCase("date")) {
  				SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd");
  				return format.format(getDefaultDate());
  			}
  			if (type.equalsIgnoreCase("time")) {
  				SimpleDateFormat format = new SimpleDateFormat("HH:mm:ss");
  				return format.format(getDefaultDate());
  			}
  			if (type.equalsIgnoreCase("month")) {
  				SimpleDateFormat format = new SimpleDateFormat("yyyy-MM");
  				return format.format(getDefaultDate());
  			}
  			if (type.equalsIgnoreCase("week")) {
  				SimpleDateFormat format = new SimpleDateFormat("yyyy-'W'ww");
  				return format.format(getDefaultDate());
  			}
  		} else if (fieldAttributes.get("Control Type").equalsIgnoreCase(FormControlType.PASSWORD.toString())) {
  			return DEFAULT_PASS_VALUE;
  		} else if (fieldAttributes.get("Control Type").equalsIgnoreCase(FormControlType.FILE.toString())) {
  			return DEFAULT_FILE_VALUE;
  		}
  		return DEFAULT_EMPTY_VALUE;
  	}