fix for GF 1.7 form field inputs

in GF 1.7 the form field inputs object seems to have become an empty
string instead of a null, breaking off some critical functionality. See
issue #2 for some context. props @Juaumlol