Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9782

Controlling response following form submit to Googlesheets [closed]

$
0
0

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.


Viewing all articles
Browse latest Browse all 9782

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>