fix to skip  empty input of form field so ldirectord does not complain
invalid value error