Refresh or clearing form after submitting it in Google Apps Script?
I have created a form in Google Apps Script and embedded it into Google Sites. How do I refr开发者_如何转开发esh or clear the form after it has been submitted? I am able to save the data to a spreadsheet but the data stays in the form.
I think there are two things you can do here:
set the visible attribute of the FormPanel object to false.
iterate over each widget in the FormPanel setting the text "" or calling the widgets clear method, as the case may be.
精彩评论