Thank you Anson,
I'm trying to hide certain fields on a form based on permissions in active directory. I'm using the following guide but I'm stuck on conditional formatting as it mentions a display tab on a field properties.
http://claytoncobb.wordpress.com/2009/07/19/infopath-user-roles-in-browser-enabled-forms-using-groups/
Thank you.
Add Conditional Formatting to Sections
- Administrators Section – We are going to set conditional
formatting on this control (Fig 8) so that if the user is not in the Sharepoint
Admins security group, then this control will be hidden:
- Double-click the Administrators section on the canvas to get to its
Properties, click the Display tab, then click
Conditional Formatting and click Add
- In the first field, click Select a field or group
- In the Data Source pulldown, select the
GetCommonMemberships secondary data source
- Drill down the dataFields path until you get to
DisplayName, which you should single-click
- At the bottom of this box where it says Select, choose the
phrase All occurrences of DisplayName, then click
OK
- For the Operand, choose are not equal to
- In the last box, click the pulldown and choose Select a field or
group, then choose strAdmin from the main data source
- Lastly, in the Formatting area, check the box for Hide
this control