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 / July 2005

Tip: Looking for answers? Try searching our database.

Automatically Insert Optional Section based on Field Value

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Shakeel - 26 Jul 2005 17:21 GMT
I'm new to Infopath, trying to create a form, I want to automatically insert
optional section when user response to yes in a field rather than choosing to
insert.  Is it possible? Thanks for helping.
Alex [MSFT] - 30 Jul 2005 08:13 GMT
Yes, this is most definitely possible, but requires some simple coding.
Create an onAfterChange event handler on the field where a user can type
"yes". In the handler, check the value of that field (make sure it's "yes")
and insert an optional section (using XDocument.View.ExecuteAction()). Good
luck.

> I'm new to Infopath, trying to create a form, I want to automatically
> insert
> optional section when user response to yes in a field rather than choosing
> to
> insert.  Is it possible? Thanks for helping.
 
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.