"The only scenario which would not have triggered the alert using your existing code would be if all the fields were blank except for g." . . . .