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.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.