I'm trying to compare two fields and print out a String if one field is null. I have a field That will print a students name $F{student}.getPerson().getMiddleName() != null ? ($F{student}.getNameView() + " " + $F{student}.getPerson().getMiddleName()): $F{student}.getNameView() And a Field that will print the Parent/Gaurdian $F{student}.getPrimaryContact().getContact().getNameView() What I would like to do is print out the word "Self" if the Parent/Gaurdian field is null; Sugguestions?