Client side validation

shape