add more docs and tests
add validate to form fields