Related to this previous post: http://www.infopathdev.com/forums/t/9316.aspx
I successfully implemented the solution proposed by "Jimmy" --in the post above-- for info-path based forms. However, I get the following error in the browser compatability section since I am developing a web-based form:
"The following expression could not be parsed because of a syntax error or because it uses and undefined namespace prefix or unsupported function: xdXDocument:GetDOM("AuditList")/Batch/Method/Field[1]
Here is the entire XML entry (which works for info-path only forms):
<xsf:assignmentAction targetField="xdXDocument:GetDOM("AuditList")/Batch/Method/Field[1]" expression="xdDate:Now()"></xsf:assignmentAction>
I have also Tried this:
<xsf:assignmentAction targetField="xdXDocument:GetDOM("AuditList")/Batch[1]/Method/Field" expression="xdDate:Now()"></xsf:assignmentAction>
I have also Tried this:
<xsf:assignmentAction targetField="xdXDocument:GetDOM("AuditList")/Batch/Method[1]/Field" expression="xdDate:Now()"></xsf:assignmentAction>
"AuditList" is an XML file depicting a SharePoint List.
Is there a web-based soluton for this?