[TASK] Create form validation mixin

I don't think we want to check this in like this.