Auto populating a field

A

ANGELICA

I have a drop-down box with city names and next to it I have a a text box
which I want to be auto populated with a "number" depending on selection of
drop-dow box,
For Example:
DDB=Ontario Field2=5
DDB=Utah Field2=4

I have tried rules and conditions and all I can think of but I'm getting
nothing.Anyone knows how to accomplish this?

Thank you
 
S

S.Y.M. Wong-A-Ton

You are on the right track by using rules. Where are the numbers being pulled
from? Are you hard-coding them? If so, you need to add a rule for each number
you want to set. The rules have to be added to the drop-down list box.
Example of the first rule: Create a rule with an action that sets the value
of the text box to the desired number. Then create a condition on this action
that will only run when the value of the drop-down is set to e.g. Ontario.
Create the other rules in the same way.

By the way, are the values in your drop-down the same as the display names
in your drop-down? If not, then using Ontario in the example above won't
work. Instead you need to use the value corresponding to Ontario.
 
Top