我正在为用户创建一个表单,以便在Google电子表格中输入信息。他们将访问电子表格,然后点击链接到脚本的图像。当图像被点击时,我想要一个表单出现。然后我希望表单中的输入可以在脚本中访问。在工作表上显示Google表单
我能够创建一个表单,但表单不会出现在表单上。这里是代码迄今为GS代码
function startForm() {
var form = FormApp.create('myForm');
var item = form.addCheckboxItem();
item.setTitle('What would you like to do?');
item.setChoices([
item.createChoice('Budget Inquiry'),
item.createChoice('Add Purchase')
]);
var choices = item.getChoices();
// then I can respond to the user's choice
}
我想这个简单的形式出现在谷歌表。任何输入将不胜感激。
欢迎(因此)。请参加[旅游]和结帐[问]。 –
[Single Table Form for Multiple Sheets]可能重复(http://stackoverflow.com/questions/17152120/single-google-form-for-multiple-sheets) –