Validate form before submit while sending notification