Fixed an issue with an exception throw in the FormField class