C
CC
We are using Infopath in combination with a 3rd party workflow tool,
so forms will be routed from approver to approver. I want to capture
the date when each approver "actions" the form. i.e. I'd like to be
able to programmatically populate a field in a repeating section with
the current date. I can do this with a flat field, but am having
trouble when the data source is a member of a repeating group.
How can I accomplish this from the Infopath side?
Here is a snippet of the schema without the date:
- <Section_C>
- <Approvers>
<ApproverName>John Doe</ApproverName>
<ApproverEmail />
<ApproverDisplayName />
<ApproverDate />
</Approvers>
- <Approvers>
<ApproverName>Sue Smith</ApproverName>
<ApproverEmail />
<ApproverDisplayName />
<ApproverDate />
</Approvers>
</Section_C>
Here is what I want (after John Doe has approved the form):
- <Section_C>
- <Approvers>
<ApproverName>John Doe</ApproverName>
<ApproverEmail />
<ApproverDisplayName />
<ApproverDate>2004-09-15</ApproverDate>
</Approvers>
- <Approvers>
<ApproverName>Sue Smith</ApproverName>
<ApproverEmail />
<ApproverDisplayName />
<ApproverDate />
</Approvers>
</Section_C>
Thanks
so forms will be routed from approver to approver. I want to capture
the date when each approver "actions" the form. i.e. I'd like to be
able to programmatically populate a field in a repeating section with
the current date. I can do this with a flat field, but am having
trouble when the data source is a member of a repeating group.
How can I accomplish this from the Infopath side?
Here is a snippet of the schema without the date:
- <Section_C>
- <Approvers>
<ApproverName>John Doe</ApproverName>
<ApproverEmail />
<ApproverDisplayName />
<ApproverDate />
</Approvers>
- <Approvers>
<ApproverName>Sue Smith</ApproverName>
<ApproverEmail />
<ApproverDisplayName />
<ApproverDate />
</Approvers>
</Section_C>
Here is what I want (after John Doe has approved the form):
- <Section_C>
- <Approvers>
<ApproverName>John Doe</ApproverName>
<ApproverEmail />
<ApproverDisplayName />
<ApproverDate>2004-09-15</ApproverDate>
</Approvers>
- <Approvers>
<ApproverName>Sue Smith</ApproverName>
<ApproverEmail />
<ApproverDisplayName />
<ApproverDate />
</Approvers>
</Section_C>
Thanks