So when you click a button, I am catching the click event in a client script script. Then from there I'm passing a parameter like you mentioned above back to the suitelet.
The part I'm at now, is getting the data from the text field in my onClick event to pass as a parameter to the suitelet