Allows custom validation of the form.
This hook supports dynamic naming with the following modifiers: