Pre-fill a form and capture events