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 / January 2007

Tip: Looking for answers? Try searching our database.

How do I insert a "Combo Box"?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Maurice.  0o0~ - 03 Jan 2007 00:53 GMT
I know how to insert a list box but I need to add a box that will allow the
end user to add their own answers.  Any help would be greatly appreciated!

Thanks,

Maurice.  0o0~
S.Y.M. Wong-A-Ton - 03 Jan 2007 02:09 GMT
If you mean adding an item to a combo box, there is no combo box control in
InfoPath 2003, so you would have to either use a third party ActiveX control
or build your own. If you're using InfoPath 2007, you can use a web service
to add items to a combo box after the user has typed in a new item (see for
example
http://enterprise-solutions.swits.net/infopath2007/article.php?t=automatically-t
ype-and-add-new-item-to-dropdown-list&c=infopath2007
).
---
S.Y.M. Wong-A-Ton

> I know how to insert a list box but I need to add a box that will allow the
> end user to add their own answers.  Any help would be greatly appreciated!
>
> Thanks,
>
> Maurice.  0o0~
Maurice.  0o0~ - 03 Jan 2007 04:08 GMT
Thanks for your help - I also found the following suggestion.

Scott Roberts [MSFT]
Re: combobox in infoPath
Rohit,

InfoPath has a dropdown control but not a native ComboBox control.  Here is
a way that you can simulate this behavior.  It will allow you to mimic the
combo box functionality with built-in InfoPath controls:

1.      Insert your dropdown bound to your field and add an option with a
value like : "Please Specify" as well as your other options

2.      Insert a text box that is bound to the same field

3.      Add some conditional formatting that will hide the text box if it is
a known value in the dropdown (besides for "Please Specify")

4.      Add conditional formatting on the dropdown to hide when the value is
not empty and not a known combo value

This way, when "Please Specify" is chosen you will see the text box and not
the dropdown.  If you empty the text box (and tab away) you will get the
dropdown again.

- Scott


> If you mean adding an item to a combo box, there is no combo box control in
> InfoPath 2003, so you would have to either use a third party ActiveX control
[quoted text clipped - 11 lines]
> >
> > Maurice.  0o0~
S.Y.M. Wong-A-Ton - 03 Jan 2007 05:40 GMT
Yes, that could also work. Thanks for re-posting it.
---
S.Y.M. Wong-A-Ton

> Thanks for your help - I also found the following suggestion.
>
[quoted text clipped - 39 lines]
> > >
> > > Maurice.  0o0~
 
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.