mirror of
https://github.com/formbricks/formbricks.git
synced 2026-01-06 05:40:02 -06:00
@@ -107,6 +107,12 @@ export default function SurveyMenuBar({
|
||||
return;
|
||||
}
|
||||
|
||||
let pin = survey?.pin;
|
||||
if (!pin || pin.toString().length !== 4) {
|
||||
toast.error("PIN must be a four digit number.");
|
||||
return;
|
||||
}
|
||||
|
||||
faultyQuestions = [];
|
||||
for (let index = 0; index < survey.questions.length; index++) {
|
||||
const question = survey.questions[index];
|
||||
|
||||
Reference in New Issue
Block a user