Enum PageNavigationType
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
পৃষ্ঠা নেভিগেশন প্রকার পৃষ্ঠা নেভিগেশন সমর্থিত ধরনের প্রতিনিধিত্ব একটি enum. পৃষ্ঠা নেভিগেশন প্রকারগুলি Form App.PageNavigationType
।
উত্তরদাতা বিকল্পটি ধারণ করে এমন একটি পৃষ্ঠা সম্পূর্ণ করার পরে পৃষ্ঠা নেভিগেশন ঘটে এবং শুধুমাত্র উত্তরদাতা সেই বিকল্পটি বেছে নিলে। যদি উত্তরদাতা একই পৃষ্ঠায় পৃষ্ঠা-নেভিগেশন নির্দেশাবলী সহ একাধিক বিকল্প বেছে নেন, শুধুমাত্র শেষ নেভিগেশন বিকল্পের কোনো প্রভাব আছে। পৃষ্ঠা নেভিগেশন ফর্মের শেষ পৃষ্ঠাতেও কোন প্রভাব ফেলে না।
পৃষ্ঠা নেভিগেশন ব্যবহার করে এমন পছন্দগুলিকে একই আইটেমে পৃষ্ঠা নেভিগেশন ব্যবহার করে না এমন পছন্দগুলির সাথে একত্রিত করা যাবে না৷
একটি enum কল করার জন্য, আপনি তার পিতামাতার শ্রেণী, নাম এবং সম্পত্তি কল করুন। উদাহরণস্বরূপ, FormApp.PageNavigationType.CONTINUE
।
// Create a form and add a new multiple-choice item and a page-break item.
const form = FormApp.create('Form Name');
const item = form.addMultipleChoiceItem();
const pageBreak = form.addPageBreakItem();
// Set some choices with go-to-page logic.
const rightChoice = item.createChoice(
'Vanilla',
FormApp.PageNavigationType.SUBMIT,
);
const wrongChoice = item.createChoice(
'Chocolate',
FormApp.PageNavigationType.RESTART,
);
// For GO_TO_PAGE, just pass in the page break item. For CONTINUE (normally the
// default), pass in CONTINUE explicitly because page navigation cannot be mixed
// with non-navigation choices.
const iffyChoice = item.createChoice('Peanut', pageBreak);
const otherChoice = item.createChoice(
'Strawberry',
FormApp.PageNavigationType.CONTINUE,
);
item.setChoices([rightChoice, wrongChoice, iffyChoice, otherChoice]);
বৈশিষ্ট্য
সম্পত্তি | টাইপ | বর্ণনা |
---|
CONTINUE | Enum | বর্তমান পৃষ্ঠাটি পূরণ করার পর ফর্মের পরবর্তী পৃষ্ঠায় যান। |
GO_TO_PAGE | Enum | বর্তমান পৃষ্ঠাটি পূরণ করার পরে ফর্মের একটি নির্দিষ্ট পৃষ্ঠায় যান। |
RESTART | Enum | বর্তমান পৃষ্ঠাটি সম্পূর্ণ করার পরে, এখন পর্যন্ত প্রবেশ করা উত্তরগুলি পরিষ্কার না করে শুরু থেকে ফর্মটি পুনরায় চালু করুন। |
SUBMIT | Enum | বর্তমান পৃষ্ঠাটি পূরণ করার পরে ফর্মের প্রতিক্রিয়া জমা দিন। |
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-25 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-25 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003e\u003ccode\u003ePageNavigationType\u003c/code\u003e enables directing respondents to different pages or actions based on their choices in Google Forms.\u003c/p\u003e\n"],["\u003cp\u003eNavigation options include continuing to the next page, jumping to a specific page, restarting the form, or submitting the form.\u003c/p\u003e\n"],["\u003cp\u003eChoices with page navigation cannot be mixed with choices without navigation within the same form item.\u003c/p\u003e\n"],["\u003cp\u003eOnly the last navigation option selected on a page will be applied.\u003c/p\u003e\n"],["\u003cp\u003ePage navigation is ineffective on the last page of a form.\u003c/p\u003e\n"]]],[],null,["# Enum PageNavigationType\n\nPageNavigationType\n\nAn enum representing the supported types of page navigation. Page navigation types can be\naccessed from [FormApp.PageNavigationType](/apps-script/reference/forms/form-app#PageNavigationType).\n\nThe page navigation occurs after the respondent completes a page that contains the option, and\nonly if the respondent chose that option. If the respondent chose multiple options with\npage-navigation instructions on the same page, only the last navigation option has any effect.\nPage navigation also has no effect on the last page of a form.\n\nChoices that use page navigation cannot be combined in the same item with choices that do not\nuse page navigation.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nFormApp.PageNavigationType.CONTINUE`.\n\n```javascript\n// Create a form and add a new multiple-choice item and a page-break item.\nconst form = FormApp.create('Form Name');\nconst item = form.addMultipleChoiceItem();\nconst pageBreak = form.addPageBreakItem();\n\n// Set some choices with go-to-page logic.\nconst rightChoice = item.createChoice(\n 'Vanilla',\n FormApp.PageNavigationType.SUBMIT,\n);\nconst wrongChoice = item.createChoice(\n 'Chocolate',\n FormApp.PageNavigationType.RESTART,\n);\n\n// For GO_TO_PAGE, just pass in the page break item. For CONTINUE (normally the\n// default), pass in CONTINUE explicitly because page navigation cannot be mixed\n// with non-navigation choices.\nconst iffyChoice = item.createChoice('Peanut', pageBreak);\nconst otherChoice = item.createChoice(\n 'Strawberry',\n FormApp.PageNavigationType.CONTINUE,\n);\nitem.setChoices([rightChoice, wrongChoice, iffyChoice, otherChoice]);\n``` \n\n### Properties\n\n| Property | Type | Description |\n|--------------|--------|------------------------------------------------------------------------------------------------------------------|\n| `CONTINUE` | `Enum` | Continue to the next page of the form after completing the current page. |\n| `GO_TO_PAGE` | `Enum` | Jump to a specified page of the form after completing the current page. |\n| `RESTART` | `Enum` | Restart the form from the beginning, without clearing answers entered so far, after completing the current page. |\n| `SUBMIT` | `Enum` | Submit the form response after completing the current page. |"]]