Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

How do I tell if a numeric field is blank?

Avatar

Former Community Member
I've played with this some but I get the feeling I'm missing something simple. These are some of the things I've tried in FormCal.



if (deductible = 0 & Percentage = 0) then

if (deductible == 0 & Percentage == 0) then

if (deductible = "" & Percentage = "") then

if (deductible == "" & Percentage == "") then

if (deductible.rawValue = 0 & Percentage.rawValue = 0) then

if (deductible.rawValue = "" & Percentage.rawValue = "") then

if (deductible.rawValue == 0 & Percentage.rawValue == 0) then

if (deductible.rawValue == "" & Percentage.rawValue == "") then



I get the feeling that I'm close but just missing something small. Any help would be great! Thank you!



-Josh
1 Reply

Avatar

Former Community Member
null might be what you are looking for.



this.rawValue == null; //JavaScript