fill input with source on click