- // check location, min 3 characters
- if (req.getParameter("location") == null || req.getParameter("location").equals("")) {
- outputError(out, req, "You failed to enter a location of your meeting.");
- failed = true;
- } else if (req.getParameter("location").length() <= 2) {
- outputError(out, req, "You must enter a location with at least 3 characters eg town and country.");
- failed = true;
- }
- // TODO checkPoints
- String points = req.getParameter("points");
- if (points == null || "".equals(points)) {
- // TODO message
- failed = true;
- }
- if (failed) {
- out.println("</div>");