AnsweredAssumed Answered

Use attribute rules to block invalid characters in at text field.

Question asked by sls1y1ss on Feb 18, 2020

I'm working with a point layer for addresses that will be exported to a CSV file, once it is complete.  I have set up Attribute Rules on the Constraints tab to find invalid characters, those characters which were not allowed in the address field.  I have created 18 different rules in order to catch all of the invalid characters and just replaced the '$' in the expression below with the appropriate invalid character, which are $ % + - ^ & * ( ) ? / ' " : ; } { ] {

 

My expression is;

Find('$', $feature.Address)

 

Is there a way to write only one Arcade expression that will find all of the invalid characters instead of the 18 I have now?

Outcomes