test form field functionality