Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Inserting a ComboBox control

From: Word 2010: Forms in Depth

Video: Inserting a ComboBox control

There are two reasons you might use a combo box in a form. The first reason is that you're not sure that you know all of the choices that users would have to make. You might ask someone what state they're from and provide a list of states, but then someone from a province or someone's from Guam and they want a place to enter that information and you haven't allowed them because you've only provided a list of fifty state abbreviations. So the first is we may not have all of the information about how all of our users would enter data in the form.

Inserting a ComboBox control

There are two reasons you might use a combo box in a form. The first reason is that you're not sure that you know all of the choices that users would have to make. You might ask someone what state they're from and provide a list of states, but then someone from a province or someone's from Guam and they want a place to enter that information and you haven't allowed them because you've only provided a list of fifty state abbreviations. So the first is we may not have all of the information about how all of our users would enter data in the form.

The second possibility is that you have most of the information and you think it's good enough. 90% of our users enter the same small set of values and we would love to provide a very short drop-down list. If we included every possible value, it would get really, really long and it would be hard for users to scroll hundreds of items to choose the lesser used items. So we make a management decision that says we're going to make it easy for most of our users and a few people will have to type something and that's absolutely okay.

We have a combo box need in our form here. We have four possibilities that we know off. When people are making pledges we encourage them either to give us a check now, pay this on a monthly basis, a quarterly basis or we will take this out of your paycheck or expected payment at the end of the year by December 10th. But it might be that somebody says, I actually want to make a payment twice a month or I would like it to be taken out of every paycheck, which I get every two weeks.

It could be that somebody says I'll pay you once, but I'm going to pay you in May rather than in December. And so Other is here to allow for all of those options, those extra hundreds of items that most people wouldn't choose, because the majority of people will choose the options that we give them. So what we're going to do is we're to create a combo box with these possibilities. Now, Monthly, Quarterly and Annual and because it's a combo box, we leave open the possibility that someone can type something in that's not on the list, a choice of their own.

Let's begin then by going to the Developer tab and entering Design mode. You'll find a Combo Box right in the middle, right next to the List Box that we used in a previous movie. So let's click the Combo Box. It looks a lot alike. And we can leave it at Choose an item, but we could be more specific. We could say Choose a payment schedule. We have lots of space to do that here. We're going to now choose Properties and you'll find that this looks very similar to our drop-down list box.

It's essentially the same, because we don't have to provide those unknown items that users will type. So we're going to put Payment Schedule up here in the Title. Again this does not appear when we're in design view. This is what users see when they're using the form and click on a field and then we'll put our shorter title here to use as a tag that's what we'll see. We're going to say this can't be deleted. We're going to modify this so that it says Choose a payment schedule and if you put the dot, dot, dot at the end of an item, that's a way in Windows that you indicate you're going to get another choice. There's actually a menu here.

So putting dot, dot, dot after this first item rather than a single period is actually a good thing to do, because users recognize that. It's sort of hardwired into Window users' brains. Let's go ahead now and choose Add and one of the choices is to be paid now, another choice is to be paid monthly, and as with our Drop-Down List control, when I press Enter the Add button still has focused. So if I simply press Enter again, it opens that Add choice form for me again.

Enter, Enter. We're going to make this one annually rather than annual and we'll put December 10th. And that's our list of known items right here. If we wanted to rearrange either one of these lists we can actually do that by using the Move Up and Move Down here, so if we wanted this to be move down we could, move it back,up, but we've entered them in the order in which we want to see them. I'm going to click OK, we're going to exit Design mode and let's now take a look at how this works. We have four different choices here, but the user can also simply type their choice.

So the Combo Box allows us to have a list that will serve the needs of most, perhaps even all of our users, but still allows them the option to add their own information here. I'm going to go ahead and Undo that change, get rid of our extra text from before we created this, and now we have a really nice drop-down that can be used to be able to select a payment method or enter our own method and that's how the Combo Box content control works.

Show transcript

This video is part of

Image for Word 2010: Forms in Depth
Word 2010: Forms in Depth

28 video lessons · 13328 viewers

Gini Courter
Author

 

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ .

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Join now Already a member? Log in

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Word 2010: Forms in Depth.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member ?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferences from the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?

No

Your file was successfully uploaded.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.