this article was useful: http://www.infopathdev.com/forums/p/4204/16494.aspx#16494 and have got some things working :o)
Having a few issues returning certain fields...
1) Trying to return the value of of contact chooser field from my sharepoint list...
Currently it's returning something like this;
LastName,, FirstNameDOMAINNAME\USERNMAME
Here is my forumla on my rule;
xdXDocument:GetDOM("Application Tracker")/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Requester[../d:ID = current()]
Essentially I am just after the Display Name... but for some reason when its returned back from sharepoint it has 2 ',,' in there along with the DOMAIN\USERNAME stuff which I dont want as I wish to reuse this field in my "submit options" email submission for the form..... How can I strip out the stuff I dont need ?
2) In my sharepoint list, I have a field that is a look-up field, that links to another list..... so when I am doing my rule for this, I am only getting the ID and not the title returned to the field I am trying to populate...., now when I have done workflows in sharepoint designer, I can do an integer lookup, so it looks at the ID and returns the Title.... this is essentially what I need to do with infopath, tried a few things but without success. is there anyway of doing this?
Cheers
Pete