I have the correct version in TM under a version but the composer has the error which is not identifiable.
Is there any way to get the correct version back into Composer with the same name
Pleas let me know if you didn't overwritten the current version, if so, do you kept your backup for prev version.
you can select the version from the form dashboard, and thn from the properties tab choose Composer form descriptor, copy the content and paste this in composer form inplace of XML.
If you have access to the xml from both versions you could try diffing them using a tool like winmerge or using an online diff tool if the form content is not sensitive information. The result won't be great but it could be helpful, particularly if changes are only minimal. There are tools that can diff xml trees but that's probably more complexity than you want.
Thanks a lot Anshuk for your reply, will try this option.