OC 6048 bug fixes

The bug is , the data validation from server side was catching errors but the system was Saving the data in the database up to the error point. 
I updated the code to not to Save the data unless and after completing the whole items in the CRF without any validation error.