Client side form validation. BAM