Detailed documentation

getGotoPage()

Gets the PageBreakItem set as a GO_TO_PAGE destination
if the responder selects this choice and completes the current page. This method applies only
to choices associated with MultipleChoiceItems; for other choices,
it returns null.

Return

Authorization

Scripts that use this method require authorization with one or more of the following scopes:

https://www.googleapis.com/auth/forms.currentonly

https://www.googleapis.com/auth/forms

getPageNavigationType()

Gets the PageNavigationType that occurs if the responder selects this choice and
completes the current page. This method applies only to choices associated with MultipleChoiceItems; for other choices, it returns null.