Set Select or Text control value via a button

I want the user to be able to click a button and set the value of a textinput or select box. I've tried adding this JS to the Event handler of the button, but it does nothing:

textInput.value="Hello";

textInput.setValue('Hello');

1 Like

Thanks Scott, its the little things!

1 Like