example using buttons as form fields