Hi,
Thanks for your input. I agree that there seems to be no way to avoid publishing multiple times for different environments, but there might be some kind of tweaking for this..? But I seriously doubt it because especially when you sign a fully trusted form with a digital certificate that certificate is mapped with a certain URL(environment). But not giving up hopes, if anyone have a solution, please recommend.
Regarding the point you mentioned, I got it worked in a different way, even more better/flexible way. In the submit event in the code behind, I get the current url of the browser and submit the form automatically to that form library. In this approach I am avoiding adding secondary xml datasource and also, no hard coded url for submission.
Thanks!