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 2004

Tip: Looking for answers? Try searching our database.

drop down list box with "free entry"

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Olivier - 07 Jul 2004 09:08 GMT
Hello !

I want to have a drop-down list box (entries manually
added) which let the user specifies another value, not in
the list.

As it seems impossible to do that with a normal drop down
list box (maybe not ?), I try to do this by adding a
value "Other, specify..." in the list box, and when it is
selected, a simple text box appears just below to let the
user enters a free value. But the problem is that the
value must be displayed in a SharePoint column, and with
this system, I have 2 different nodes (depending if the
value is present or not in the list box).

Is there a way to have a field which can fit my needs ?

Thanks in advance for your support ;)

Olivier
Software Engineer - ETSI Sophia-Antipolis
Greg Collins [MVP] - 07 Jul 2004 15:43 GMT
Sounds like you had the right idea, but were just missing the mark a little bit.

Switching from the drop-down list box to a text box allows the user to enter a value not in the list box, but where it sounds like you missed the mark is that you have the text box bound to a different node than the list box is. They should both be bound to the same XML node.

I created an example a while back which shows exactly how to do this, and even includes more functionality than what you were describing, such as allowing the user to edit or delete a value as well as add one. It also appears to the user to be a single control, instead of two separate ones. Check it out! It's called "Fully Editable Drop-down List Box" and is available at http://www.InfoPathDev.com/examples/

Signature

Greg Collins [InfoPath MVP]
Please visit: http://www.InfoPathDev.com

Hello !

I want to have a drop-down list box (entries manually
added) which let the user specifies another value, not in
the list.

As it seems impossible to do that with a normal drop down
list box (maybe not ?), I try to do this by adding a
value "Other, specify..." in the list box, and when it is
selected, a simple text box appears just below to let the
user enters a free value. But the problem is that the
value must be displayed in a SharePoint column, and with
this system, I have 2 different nodes (depending if the
value is present or not in the list box).

Is there a way to have a field which can fit my needs ?

Thanks in advance for your support ;)

Olivier
Software Engineer - ETSI Sophia-Antipolis
 
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.