AnsweredAssumed Answered

Catch blank/empty cells in attribute table (not <Null>)

Question asked by MollyKFoley on Oct 18, 2019
Latest reply on Oct 18, 2019 by Dan_Patterson

I have blank cells in an attribute table I'd like to catch using python. These cells are not filled with <Null> but are simply blank. Will this statement catch all possibilities in a blank cell? The blank cells could only occur in string fields and would be produced using Collector Classic on an iPhone since, for some reason, it doesn't enforce required fields like an Android phone does and instead just fills required text fields with an empty value.

 

if x == [None, '', ' ']:
    #do something

 

I think None actually catches <Null> but can't hurt to have it there I guess.

Outcomes