Hi everybody ! Sorry for my bad english, I'm a new French InfoPath user !
I tested this great tutorial yesterday : http://blogs.msdn.com/infopath/archive/2007/03/26/submitting-to-a-sharepoint-list.aspx and it works fine, I can submit datas to my SharePoint list and receive sent datas into a table.
The only problem is that I can only display custom values in the submit form by modifying the XML file :
<?xml version="1.0" encoding="UTF-8" ?>
<Batch OnError="Continue">
<Method ID="1" Cmd="New">
<Field Name ="Title">Test1</Field>
<Field Name ="Surname">Test1</Field>
<Field Name ="FirstName">Test2</Field>
<Field Name ="Mail">[email protected]</Field>
</Method>
</Batch>
Instead of writing "Test1" or "Test2" in the XML, I would like to display the value of an other field which is in my main view (these fields contains the name and the mail of the user). I don't want the user to rewrite these informations. I tried to use rules to modify the value of the "Field" field but without success.
Thank you for your help :)
Maxime R.