The onSubmitButtonClick function needs to be in the client side domain and not in the server side code for it to be accessible by the button click.
So add the script tag:
<script>
.. put your function between these two tags.
Function will need to call the server function by using google.script.run.”serverfunctionName here”()
</script>
--
You received this message because you are subscribed to the Google Groups "Google Apps Script Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-script-c...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/97ac5a8f-c79d-46db-8b97-9375b09b94b7n%40googlegroups.com.
You are welcome.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/7847a5c3-5ee6-42e7-bee5-9fcfccf4ee07n%40googlegroups.com.