Hi @nottengame ,
If I understand correctly, you want a script to run when you click a button.
You should be using the (premium function) javascript editor for this. Whatever you type in there runs when the button is clicked.
So, you wouldn't have to add the event listener with jQuery, but you would type the following code in the javascript editor box:
jQuery('.contactformwrapper').toggleClass('hidden');
wpestate_contact_footer_starter();
So this is the code that runs whenever the button is clicked.
Please let me know if this worked for you or have any questions.