That was a troubleshooting tip! identify the issue with your formAPI script, fix it, and done!
Thanks for your response. As you suggested, I disabled the Form API and it is working fine. But if we disable the script i mean the Form API, how can we validate and create dynamic forms?