خرید بک لینک

Vote count: 0

I am writing a Google form using a script so that I can pull the data from a Google spreadsheet and generate a page for each event based on a list of events which are of unknown length.

I have worked out that I can create the pages I need using this loop, with my list of events, eventvalues :

for (var i = 2; i < eventvalues.length; i+=1){
 var page = form.addPageBreakItem().setTitle(eventvalues[i][0]);} 

I would like to end up with variables

Page1

Page2

Page3

Etc all the way to eventvalues.length

Currently the variable page is used by the last page only and all others are not assigned to a variable because of being re assigned.

Thanks in advance

asked 2 mins ago

برچسب: نویسنده: استخدام کار تاريخ: سه شنبه 14 ارديبهشت 1395 ساعت: 4:21

صفحه بندی