public ArrayList<String> getValidationErrors() {
        ArrayList<String> errors = new ArrayList<String>();

        try {
            Double.parseDouble(price);
        } catch (NumberFormatException e) {
            errors.add("Price is not a number");
        }

        if(description == null || description == "") {
            errors.add("You must provide a valid item description");
            return errors;
        }

        if (file == null || file.getFileName().length() == 0) {
            errors.add("You must provide a file");
            return errors;
        }

        if (file.getBytes().length == 0) {
            errors.add("Zero length file");
        }

        if (description.matches(".*[<>\"].*")) errors.add("Last name may not contain angle brackets or quotes");
        if (price.matches(".*[<>\"].*")) errors.add("Last name may not contain angle brackets or quotes");

        return errors;
    }