Fixed a typo in getting form fields.