private void initBindings() {
bindingGroup = new BindingGroup();
minimumLengthValidator = new MinimumLengthValidator(5);
numberValidator = new NumberValidator();
Binding binding = FormHelper.createBinding(this, "event", "name", nameField, "text");
binding.setValidator(minimumLengthValidator);
bindingGroup.addBinding(binding);
binding = FormHelper.createBinding(this, "event", "location", locationField, "text");
binding.setValidator(minimumLengthValidator);
bindingGroup.addBinding(binding);
binding = FormHelper.createBinding(this, "event", "description", descriptionTextArea, "text");
binding.setValidator(minimumLengthValidator);
bindingGroup.addBinding(binding);
binding = FormHelper.createBinding(this, "event", "phoneNo", phoneNumberField, "text");
binding.setValidator(new PhoneNumberValidator());
bindingGroup.addBinding(binding);
binding = FormHelper.createBinding(this, "event", "startDate", startDatePicker, "date");
bindingGroup.addBinding(binding);
binding = FormHelper.createBinding(this, "event", "endDate", endDatePicker, "date");
bindingGroup.addBinding(binding);
binding = FormHelper.createBinding(this, "event", "totalAmount", totalAmountField, "text");
binding.setValidator(numberValidator);
bindingGroup.addBinding(binding);
binding = FormHelper.createBinding(this, "event", "advance", advanceField, "text");
binding.setValidator(numberValidator);
bindingGroup.addBinding(binding);
binding = FormHelper.createBinding(this, "event", "noOfLabours", noOfLaboursField, "text");
binding.setValidator(numberValidator);
bindingGroup.addBinding(binding);
binding = FormHelper.createBinding(this, "event", "noOfVehicleTrips", noOfVehicleTripsField, "text");
binding.setValidator(numberValidator);
bindingGroup.addBinding(binding);
binding = FormHelper.createBinding(this, "event", "extraExpense", extraExpenseField, "text");
binding.setValidator(numberValidator);
bindingGroup.addBinding(binding);
binding = FormHelper.createBinding(this, "event", "commission", commissionField, "text");
binding.setValidator(numberValidator);
bindingGroup.addBinding(binding);
binding = FormHelper.createBinding(this, "event", "vatPercentage", vatPercentageField, "text");
binding.setValidator(numberValidator);
bindingGroup.addBinding(binding);
// Error when event is new (createNew)
if(event.get("paid") != null) {
binding = FormHelper.createBinding(this, "event", "paid", paidCheckBox, "selected");