Hi,
I have a form that should be deployed together with a template, i.d. there is a form lib which always has the same name, e.g. addresslib and when I click "fill out" the data should be sent to the right addresslib form lib.
But as this template can be within various webs, I can't define a static submit target.
E.g. I have these webs
http://localhost/template1/addresslib
http://localhost/template2/addresslib
http://localhost/template3/addresslib
and to have the form to send the filled form to the right addresslib form lib, I would have to change the submit target by hand to template1, template2, etc. in any of the form lib templates.
So is there a possilbity to change the submit target with custom code? Or how can I submit data to a dynamic target? I can figure out the url where the form is located (thisXDocument.Solution.PackageURL), but I couldn't find any tutorial on how to create the right adapter and how to use it.
Any hints on that?
Best regards,
Buki