I attended a training course last year which cost about 12,000 US dollars. Also I signed a 3-year contract which means I need to repay part of training fee if I leave the company within 3 years. But now I realize this contract may be unfair.
I'm a software engineer and the system we are developing needs to communicate with another software. My manager says we need to know more about this software so that we can develop our own system better. He says this course will be about the database structure of this software. But actually this course is about the installation of this software. Before the training we didn't receive any formal introduction about this course. I joined this company about two years ago so when I agreed to attend this training course, I didn't know much about this company. Now I know there's actually another department which is responsible for installing this software. This software is developed by this company and it is used in a particular field which means I'll never use it anywhere else if I leave this company, not to mention it is the installation of the software rather than how to use it.
When I talk about this with my colleagues, everyone thinks this training is ridiculour for software engineers. I've never used any knowledge of that training after that. So I want to know if this training contract is invalid according to the law of the US. Thanks.