Client-side validation to profile forms before submit