Added method to determine if form has fields