Refresh or clearing form after submitting it in Go

2019-08-29 05:48发布

I have created a form in Google Apps Script and embedded it into Google Sites. How do I refresh 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.

1条回答
疯言疯语
2楼-- · 2019-08-29 06:17

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.

查看更多
登录 后发表回答