This question already has an answer here:
I have several columns of research data that are coded 0-2. For example:
0=No monkeys in state 1=Some monkeys in state 2=Only monkeys in state
When I actually bring this map up to ArcGIS Online, obviously I don't want someone to click on a state and get a popup telling them just an integer. I would like some way of writing a conditional statement that will display whatever string I want instead its numerical code.