Using Run Script as a condition

Hi - I am trying to use a Run Script as a condition to say - if zip code field is blank then do not create pdf. I have a script that I tried to work on but am doing something wrong. It returns everything as true and then runs down the ‘T’ side of the branch. The (7) is %7 (pointing to the zipcode field in the data) that I am using in the Set Job Infos and Variables plugin. What am I missing? I havent used the Run Script that much and trying to get more familiar with it.

var noZip;
noZip = Watch.GetJobInfo(7);

if (noZip != “”){
Script.ReturnValue = 1;
}else {
Script.ReturnValue = 0;
}

Thank You

Did you do a trim in your SetJobInfoVariable plugin when you set %7 to your data selection? Could be that there is spaces there…

That was it !! I did not have it trimmed. Thank you so much!!!