Select to view content in your preferred language

If Arcade Expression & auto-populate other field

419
0
12-13-2023 01:46 PM
JamesBooth
New Contributor III

Hello,

I have another arcade expression question for all you experts! I find posting these types of questions and gathering answers is one of the best ways of learning different software, but I totally appreciate everyone's efforts as well! Kudos to all of you helping out there!

Here is my latest situation, and I'm thinking it's probably pretty simple for many out there, but I'm new to Arcade and I'm still grasping where to start sometimes!

I have a table of address points and two of the fields are ROAD_TYPE & TYPE_SHORT.

I would like TYPE_SHORT (which is the Road Suffix in Short form) to be auto-populated based on the ROAD_TYPE value that the user selects.

Some examples of ROAD_TYPE and the equivalent TYPE_SHORT value for each type of road are shown below:

Avenue = AV

Boulevard = BLVD

Court = CT

Crescent = CRES

Drive = DR

Line = LI

Laneway = LA

Street = ST'

So if the user selects "Street" in the drop down menu for the ROAD_TYPE value, then I'd like the TYPE_SHORT value to be " ST"

0 Kudos
0 Replies