Validating task data on task completion

Cross ref for this: Form Server Validations: Generic Form Validator using Javascript

This will provide server side validation based on the form completion