Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I agree that InfoPath can only be used for simple form and not for complex requirements. I will mark your answer as the solution since it looks like there is no other way to do it.