adding form and validation examples