How do I make a dropdown list populate multiple fields?

B

britAnn914

I'm redesigning our UPS shipping request form at my job and I'm a novice user
of InfoPath. We regularly send shipments to different offices in our
affiliate. I received a request from someone in our office to make a drop
down list that when selected from will populate the "Address" portion of the
document with the appropriate address. For example, if I were to select "AHA
- Arlington" from the list then the address portion will fill with:

4301 N. Fairfax Dr. <- in one field
Suite 530 <- in the field below it
Arlington, VA 22203 <-in the "city, state, zip" field.

I also want to leave these fields open in case someone is filling out this
form and is not sending it to an AHA office and wants to type in the address.
Basically I think what I'm trying to do is get the the dropdown list to have
multiple bindings. Does this make any sense and can someone help me?
 
S

SteveC

You can do this with rules:

In design mode, right-click the drop-down box, and select "Drop-Down List
Box Properties." Click the "Rules" button, and then "Add" to add a new rule.
Click "Set condition", and set the three fields as "the name of your
drop-down box" (whatever you named it) "is equal to" "Type text...", then
enter in the last box the text that will be selected from the drop-down box.
Click "Ok".

Click "Add action...", and in the drop-down list select "Set a field's
value". Enter the name of the field you want to populate in the "Field:"
box, and then enter the text you want it to read in the "Value:" box. Click
"Ok". Repeat this step for every field you want to auto-populate.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top