开发者

Refresh or clearing form after submitting it in Google Apps Script?

开发者 https://www.devze.com 2023-03-11 02:41 出处:网络
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 spreadsh

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:

  1. set the visible attribute of the FormPanel object to false.

  2. iterate over each widget in the FormPanel setting the text "" or calling the widgets clear method, as the case may be.

0

精彩评论

暂无评论...
验证码 换一张
取 消