How to use push button to input value

Yes, that's a more accurate formulation.