Add option to detect form field