I have made index.html file witch contains
<form id="myForm">
Uporabniško ime: <input id="firstName" name="firstName" type="text" /><br>
Geslo: <input id="pass" name="pass" type="text" /><br>
<input type="button" value="Submit"
onClick="google.script.run.withSuccessHandler(DataSaved).processForm(this.form)"
/>
</form>
<div id="Message"></div>
Now im struggling to put this content to variable. I would like to put this input fields into var1 and var2. Idealy after submit click script would redirect to different template where i could use this var1 and var2.
The documentation and examples on this topic are limited and difficult to understand. I would appreciate any help.