sign-up form client-side validation