Assigned
Status Update
Comments
sp...@gmail.com <sp...@gmail.com> #2
For example:
var form = FormApp.openById('1234567890abcdefghijklmnopqrstuvwxyz');
var item = form.addTextItem();
item.setTitle('What is the correct html open tag for a header size 1?');
var acceptableAnswers = ["h1", "H1", "<h1>", "<H1>"];
item.setCorrectAnswers(acceptableAnswers);
var form = FormApp.openById('1234567890abcdefghijklmnopqrstuvwxyz');
var item = form.addTextItem();
item.setTitle('What is the correct html open tag for a header size 1?');
var acceptableAnswers = ["h1", "H1", "<h1>", "<H1>"];
item.setCorrectAnswers(acceptableAnswers);
fu...@gmail.com <fu...@gmail.com> #3
The GIFT Quiz Editor add-on is incomplete (converting GIFT short-answer to Google Quiz question) because this is missing.
For example, here's a GIFT question with two acceptable right answers:
Who's buried in Grant's tomb? {
=no one
=nobody
}
The add-on is ready to set them, but there's no API for it. Currently, we can tell the user to do it by hand, with info in the "Help text" of the question.
The Answer Key also has a setting for "Mark all other answers incorrect." which doesn't appear to have an API call either.
For example, here's a GIFT question with two acceptable right answers:
Who's buried in Grant's tomb? {
=no one
=nobody
}
The add-on is ready to set them, but there's no API for it. Currently, we can tell the user to do it by hand, with info in the "Help text" of the question.
The Answer Key also has a setting for "Mark all other answers incorrect." which doesn't appear to have an API call either.
su...@gmail.com <su...@gmail.com> #4
It's crazy that in 2020 you can - using the Google Forms API - set answers for a MultipleChoiceItem()
using (e.g.)
var item = form.addMultipleChoiceItem().setTitle('Best animal?').setChoices([
item.createChoice('Cats', true),
item.createChoice('Dogs')
])
item.setChoices(choices);
but there is no way to programmatically set the correct answer for a TextItem()
. I'm a teacher and use Apps Script to generate maths quizzes, but having to open up each form in the editor and manually set answer keys is so frustrating.
[Deleted User] <[Deleted User]> #5
Yes, that's really frustrating. Is there any plan to add the new method to set the correct answer for a TextItem()?
mi...@google.com <mi...@google.com> #6
Hello there!
I have requested this internally. Any updates about this will be communicated here.
Thank you.
lu...@gmail.com <lu...@gmail.com> #7
Feature is still absent :(
This is really absurd that one of the questions types can't be fully managed by App Script.
This is really absurd that one of the questions types can't be fully managed by App Script.
mo...@gmail.com <mo...@gmail.com> #8
You can do this with the new Forms API which was released a couple of months ago
fu...@gmail.com <fu...@gmail.com> #9
I didn't see anything new in
mo...@gmail.com <mo...@gmail.com> #10
This one
https://developers.google.com/forms/api
You can also upload images for questions and MCQ options
You can also do more things with the responses but I've only used it to
create forms - it works well
On Thu, 12 May 2022 at 23:08, <buganizer-system@google.com> wrote:
You can also upload images for questions and MCQ options
You can also do more things with the responses but I've only used it to
create forms - it works well
On Thu, 12 May 2022 at 23:08, <buganizer-system@google.com> wrote:
fu...@gmail.com <fu...@gmail.com> #11
OP's question is in the Apps Script context. I'm a dev of a Forms add-on that's written in apps script. How can one use the new REST API in Apps Script?
mo...@gmail.com <mo...@gmail.com> #12
I incorporated it into my Add ons using URLFetch. There are some instructions on the website I followed those and added a bit of trial and error
ro...@gmail.com <ro...@gmail.com> #13
The suggested Apps Script feature would be very helpful.
Description
First, please search through existing issues to ensure that the feature request has not already been reported. You can start the search here:
If the feature has already been requested, you can click the star next to the issue number to subscribe and receive updates. We prioritize responding to the issues with the most stars. You can also comment on the issue to provide any context of how the feature would benefit you.
Also, please verify that the functionality you are requesting is not already present in Apps Script.
If your feature has not been requested, please provide all of the following:
-----------------------------------------------------------------------------------------------------------------------------
A short description of the request:
add a method to FormApp TextItem to setCorrectAnswers()
and also an option to give correct and incorrect feedback like with choice type items
What is the purpose of this new feature?
Now that forms allow quizzes you can add possible responses to text items to score as correct in the interface. This would allow you to create quiz items through script and also identify responses to score correctly.
For example:
var form = FormApp.openById('1234567890abcdefghijklmnopqrstuvwxyz');
var item = form.addTextItem();
item.setTitle('What is the correct html open tag for a header size 1?');
var acceptableAnswers = ["h1", "H1", "<h1>", "<H1>"];
item.setCorrectAnswers(acceptable);
It would also be nice to set points based on different answers. For example, you might have an array of answers that you give full credit for (e.g., 2 points) and another array of answers that you give partial credit (e.g., 1 point). This would also involve updating the UI interface.
What existing Apps Script services would this affect? FormApp
What existing data does this use?
Please provide any additional information below, including the particular use cases you believe this feature would enable or improve.