Initial attempt at injecting form validation