If there is such a clause in the appointment orders that relinquishment/resignation of the job would be permitted only after successful completion of the training and probation period, nothing illegal in it. But forbidding application for any job outside the company through proper channel while undergoing probation may not be correct when there is unofficial extension of the training period. Though such a long duration of training the prospective employee involves the investment of money and time of the employer, there would be no justification for forbidding the employee from applying for a better job. If the employee has to leave before completion of his probation period, the employer can demand refund of the entire training cost as liquidated damages.
Therefore, it is better that the poster discloses the relevant clause relating to training and period of probation as exactly mentioned in the appointment orders and the fact whether he executed any employment/service bond before joining the training. 16th June 2018 From India, Salem