fix validation logic for method form submission; fixes #395
improve getFieldValue (#423)