Infopath 2010 is it possible to apply a rule to a group of controls?

Is it possible to to hide/ remove a section from certain users?

I can do this to an individual control by applying a rule stating hide control if user is not bla bal bal.

This is fine but I want to know h ow I can achieve this by applying to a whole section.

I would like to use one form for all new starters and have IT fill out a section, payroll fill out another section and HR another section. Each section can only be filled in by the relative users.

Who is Participating?
melli111Connect With a Mentor SharePoint Administrator / DeveloperCommented:
Hi - I'm actually working a similar case in a nother forum.  I don't have 2010 yet, but another expert that is assisting in my other case said you can apply conditional formatting to the section (as long as by section you mean that these controls are in a section control)

- Select the control

- The "Control Properties" tab should light up and you should see "Manage Rules"

- Click the New button on Manage Rules and select Formatting

pancho15Author Commented:
excellent !!! wovrked a treat - am I able to move existing controls into a section control ?

I have for exmaple - first name ________________   Lastname _______________________
Address _____________________________  Is it possible to group all three after the fact into a section control?
melli111SharePoint Administrator / DeveloperCommented:
In 2007 you can move existing controls into a new section, so it should be fine in 2010 as well.  
Clay FoxDirector of Business IntegrationCommented:
Another way at this to is to use 2 views, one for one group and one for another.

Another nice thing in 2010 is the ability to copy and paste rules from one control to another.
pancho15Author Commented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.