Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / May 2007

Tip: Looking for answers? Try searching our database.

Read-only using code

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ram - 01 May 2007 16:38 GMT
I have 4 fields(text boxes) in a form. I need to need to make first
two textboxes if the user role is "Group 1" , but if the user belongs
to "Group 2" everyt textbox should be enabled.

Is there a way to do this without having multiple views? Thanks.
esebastian@esolutionsgroup.ca - 01 May 2007 18:09 GMT
> I have 4 fields(text boxes) in a form. I need to need to make first
> two textboxes if the user role is "Group 1" , but if the user belongs
> to "Group 2" everyt textbox should be enabled.
>
> Is there a way to do this without having multiple views? Thanks.

Hello Ram,
You can use conditional formatting -> I am using infopath 2007 so
hopefully 2003 is similar if you are using that.. here are the steps
in 2007
1)Right Click on the text box
2)select Conditional formatting
3)Add
4)under "if this condition is true" select "users current role" is
equal to and then select the role from the right hand drop down
5) under "then apply this formatting" click the read only check box.

Hope this helps.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.