3

Is it possible to create a Google form that will accept responses only during a particular time period?

1 Answer 1

3

My initial response is yes.

How? You'll have to look into Google App Scripts. You're probably better off creating a form via script and then creating a function that validates the dates and times. So perhaps the pseudo code would be...

function main() {

    // Get today's date and the final date for the form to accept responses
    //
    var todaysDate = new Date();
    var endingDate = new Date(2014, 1, 31);

    if (todaysDate > endingDate) {
        // form no longer accepts responses
    }

    else buildForm();
}

This is the main idea. Since I'm strapped for time, I'll come back later in the day to clarify this answer if need be. Let me know if you have any questions or would like me to provide you with more examples.


Reference

Google Apps Script: Form API

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.