Something like the following maybe?
$("#button").click(function() {
$("#input").val("My Text Here");
});
Of course you want to replace the selectors and text with what you actually want.
That basically says whenever a user clicks on #button
set #input
to My Text Here
#input
being your text form field and #button
being your button you want the user to click to display the text in the field.
2
solved if I were to click a button somewhere on a web page, I want specific text to appear in a specific form field [closed]