Hi, I had slightly simplified my structure in my pervious post - here is the actual structure with the Rules set up on the InterviewersContractSelector Group
InterviewersContractSelector (repeating group)
People (repeating group)
DisplayName
AccountId
AccountType
InterviewersFocusArea
InterviewersEmail
InterviewersAD
This is the extract from manifest.xsf showing the rules
<xsf:ruleSet name="ruleSet_66">
<xsf:rule caption="Set the Email" condition="my:Person/my:DisplayName != """ isEnabled="yes">
<xsf:assignmentAction targetField="my:InteviewersAD" expression="substring-after(my:Person/my:AccountId, ../my:FormCalculations/my:DTINETTEXT)"></xsf:assignmentAction>
<xsf:dialogBoxExpressionAction>my:Person/my:DisplayName</xsf:dialogBoxExpressionAction>
<xsf:assignmentAction targetField="xdXDocument:GetDOM("CurrentUser")/dfs:myFields/dfs:queryFields/tns:UserInfo/tns:userName" expression="my:InteviewersAD"></xsf:assignmentAction>
<xsf:queryAction adapter="CurrentUser"></xsf:queryAction>
<xsf:assignmentAction targetField="my:InterviewersEmail" expression="xdXDocument:GetDOM("CurrentUser")/dfs:myFields/dfs:dataFields/tns:UserInfoResponse/tns:UserInfoResult/UserInfo/UserInfoResult/mail"></xsf:assignmentAction>
<xsf:assignmentAction targetField="my:Person/my:DisplayName" expression=""""></xsf:assignmentAction>
<xsf:assignmentAction targetField="my:Person/my:AccountId" expression=""""></xsf:assignmentAction>
<xsf:assignmentAction targetField="my:Person/my:AccountType" expression=""""></xsf:assignmentAction>
</xsf:rule>
</xsf:ruleSet>
(Is there a better way to cut and paste the rules ?)
Catharine