Forms - Go to section, per section

805 views
Skip to first unread message

ZPL

unread,
Mar 13, 2022, 1:48:53 AM3/13/22
to Google Apps Script Community
Greetings!

I'm trying to figure out if there is a way to set which section a form user sees next, per section. I know how to do it based on the answer of a form item, but I haven't found anything online that talks about the per-section option. Screenshot below. Apologies if I missed this somewhere.

Thank you very much for your time.

Screen Shot 2022-03-12 at 10.36.41 PM.png

ZPL

unread,
Mar 13, 2022, 10:35:58 PM3/13/22
to Google Apps Script Community
I figured this out! For anyone else looking around, hopefully you'll find this. It's all about the PageBreakItem: https://developers.google.com/apps-script/reference/forms/page-break-item
 
const form = FormApp.getActiveForm();
form.addPageBreakItem().setTitle(fileNameCampaign).setGoToPage(FormApp.PageNavigationType.SUBMIT)

Reply all
Reply to author
Forward
0 new messages