Working on a simple custom pop-up using Text in a new web map. See the code below:
{BUSINESS_LEGAL_NAME}
Business Registered as {COMPANY_REGISTER_FOR}
Address: {BUSINESS_STREET}
Suite: {BUSINESS_SUITE}
City: {BUSINESS_CITY}
State: {BUSINESS_STATE}
Zip: {BUSINESS_ZIP}
Email: {EMAIL_ADDRESS}
Business Scope: {DESCRIPTION}
Business Category: {expression/expr0}
The last item uses an expression that displays the field alias name if there is a value of 1 or more in the record.
It all works well ONLY if, in the Fields list, the field is checked (visible). However, the whole point of building a custom script is to display the data in a certain way. If I uncheck the field, I don't get the desired results. Is anyone else having this same issue?
Any Suggestions?
When field is selected it shows on pop-up (don't want that)
When the field is selected the script works, but further down it shows again and it shouldn't
When the field is not selected script doesn't work