Add custom form validation