Issue While working with cq5 forms you would need to do some validations at server side end. These validations can be very generic like character only validation or may be complex business scenarios. Solution The approach we would discuss would incorporate all these scenarios: The first and foremost thing to do is to override the default server validation file in /libs directory (/libs/foundation/components/form/defaults/field/servervalidation.jsp) into your project like /apps/foundation/components/form/defaults/field/servervalidation.jsp The file above is called for each form field separately when the form is submitted. Within this default server validation field I suggest you to validate only required constraint. This can be achieved with the help of form api’s available OOTB. Required validation (available OOTB in the constraint tab on the form field) can be done with this code below. FieldDescription[] descs = FieldHelper.getFieldDescriptions(slingRequest, resour