Change null value on entry field

jasonadal Community Member Posts: 441 ♪ Opening Act ♪
I have a text block that updates based on the value of an entry field using onSelectChange. If you start entering data but then delete it all, the value becomes "null" and the text block displays "~~~null~~~". I'm trying to figure out how to prevent the "null" value from appearing in the text block when you delete text previously entered.

I tried a Modify Variable with the condition "contains null" before the action to change contents and as a condition of the change contents action to no avail. So the order of operations was either:

onSelectChange: Set variable value empty IF variable contains "null"
onSelectChange: Change contents to variable


onSelectChange: Change contents IF variable does not contain "null"

I also tried the condition "not empty" on the change contents with the first set of actions, but this displayed the character you enter first. None worked, even with a delay on the Change Contents action. Suggestions are quite welcome. I can try and post a quick sample later if needed.