added client validation. Add button put() irregardless.