powered by
This function makes a google request object that will be able to be posted with a batch request and and added to a Google form to edit it.
create_text_question( form_id = NULL, commit_to_form = TRUE, required = FALSE, question = NULL, correct_answer = NULL, google_forms_request = NULL, point_value = 1, location = 0, quiet = FALSE )
The id of the google form to be updated
Whether or not the request should be committed. If need to build the request further, you will want to say FALSE. Default is TRUE
TRUE or FALSE is this a required question? Default is not required.
a string that is what the question should say
A string that matches exactly what would be considered a correct
A google forms request object. If not supplied, it will be created new.
An integer representing how many points
Where should the new question be added
TRUE/FALSE you'd like a progress message?
if (FALSE) { create_text_question( form_id = "12345", question = "Put text here that is for filling in the blank", point_value = 1 ) }
Run the code above in your browser using DataLab