How do you pre-fill a field only during the onclick event?
I have a few buttons. I want the pre-fill the a custom field conditionally based on which button they click.
I have tried the following but didn't work.
The code below works but it is doing the pre-fill during on page load which is not what i want.
Post is closed for comments.