I have created a website which contains a form I have written. The form is within a block on webpage titled "Savings Input". The form is linked to a speadsheet (google-sheets) The spreadsheet utilizes an "Apps Script" that populates the appropriate cells and performs functions on the inputs I have submitted.
" <formmethod="POST"action="https://script.google.com/macros....
button type="submit" value="submit"> Submit /button>
In addition, I have created a web page "Saving Calculation" which embeds the spreadsheet which contains all the processed data I want to view.
Once the I (the user) have completed the form inputs and submitted the form I receive back a response (in a separate tab on my browser):
" return ContentService.createTextOutput(JSON.stringify({ 'result': 'success', 'row': nextRow }))
So far so good. However, the response I would like is for the embedded spreadsheet to open in "Savings Calculation" with the refreshed, updated data.
How do I achieve this? Any advice and or specific code examples would be greatly appreciated. Thank you.