add onchange/autofill support for forms