Is it possible to set a field value on a button click?