//Addacheckboxgriditemtoaformandrestrictittooneresponsepercolumn.varcheckboxGridItem=form.addCheckboxGridItem();checkboxGridItem.setTitle('Where did you celebrate New Years?').setRows(['New York','San Francisco','London']).setColumns(['2014','2015','2016','2017']);varcheckboxGridValidation=FormApp.createcheckboxGridValidation().setHelpText(“Selectoneitempercolumn.”).requireLimitOneResponsePerColumn().build();checkboxGridItem.setValidation(checkboxGridValidation);
[[["Прост для понимания","easyToUnderstand","thumb-up"],["Помог мне решить мою проблему","solvedMyProblem","thumb-up"],["Другое","otherUp","thumb-up"]],[["Отсутствует нужная мне информация","missingTheInformationINeed","thumb-down"],["Слишком сложен/слишком много шагов","tooComplicatedTooManySteps","thumb-down"],["Устарел","outOfDate","thumb-down"],["Проблема с переводом текста","translationIssue","thumb-down"],["Проблемы образцов/кода","samplesCodeIssue","thumb-down"],["Другое","otherDown","thumb-down"]],["Последнее обновление: 2024-10-26 UTC."],[[["`CheckboxGridValidationBuilder` helps create validations for checkbox grid items in Google Forms."],["It allows setting restrictions like limiting responses to one per column."],["The `requireLimitOneResponsePerColumn()` method enforces this single response restriction."],["This builder is used with `setValidation()` on a checkbox grid item to apply validation rules."]]],[]]