Hi,
I have a browser enabled, admin approved infopath 2010 form, that is currently submitting to a single form library o which I created submit data conenction.
But I need to submit this form to various different form libraries/folders based on for which location the user is submittign the form for. Location is a value that user selects from a dropdown while filling the form.
I intend to create different form libraries/ folder in the Sharepoint site whose name matches the locations name in the form drop down.
Can I write code on submit to , to create teh URL/data connection ot hte Sahrepoitn library that matches the name of the location user selected.
All this I need, so that I can control the visibility of the forms submitted by location. I can provide access permissions to each folder based on the location the user belogns ot then.
I found a thread http://www.infopathdev.com/forums/t/11400.aspx , but not sure how much it is helpful,a s it keeps submiting to only one dataconnecion that i specify.
Appreciate any help