0

I am very new to scripting on Google form. In fact, I just recently fount out about it.

So what I'm trying to do is that I want to create a form that consists of duplicated pages in accordance to a number that is chosen by the user.

For instance, the form asks the user "How many people will be participating in this event?" If the user types in 5, the form will make 5 duplicates of a page, in which all of those pages will ask for the details of each participant.

So is there a way create duplicates of a page using a for loop?

Saldi
  • 5
  • 2
  • 1
    I don't think you would want five pages because you still only have one user in front the screen. What might be more valuable is to collect the five email addresses and send them invitations to participate in the event? I could be wrong. – Cooper Aug 28 '17 at 14:14

1 Answers1

0

First, you'll need to implement using installable form-submit trigger which runs when a user responds to a form.

For more information, check these two versions of the form-submit trigger:

  1. Google Forms events
  2. Google Sheets events

Then, when triggered, you may want to create new documents using the append methods in Class Body.

See this related SO posts for more insights and sample codes:

Teyam
  • 7,686
  • 3
  • 15
  • 22