SharePoint List Default Cell Value if Empty

Frequent Contributor

I have a column of type Single Line of Text. When entering data, sometimes the cell will contain data, other times it won't, and can stay empty.


If the cell doesn't contain data, on exit/save I would like to populate the cell with "n/a".


How could I achieve this? Is this only possible using Power Automate?

1 Reply
best response confirmed by jonboylib (Frequent Contributor)

This seems to work.


    "$schema": "",
    "elmType": "div",
    "txtContent": "=if([$field_1] == '', 'n/a', '@currentField')"