Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Can't Clean and Exit Surveys

  • mferraz
  • mferraz's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
1 year 10 months ago #227790 by mferraz
Can't Clean and Exit Surveys was created by mferraz
Please help us help you and fill where relevant:
Your LimeSurvey version: 3.28.8+220426

Getting this error when we try to Clean and Exit a Survey:
survey.js:420 Uncaught TypeError: Cannot read properties of undefined (reading 'submitter')
    at HTMLDocument.<anonymous> (survey.js:420:39)
    at HTMLDocument.dispatch (jquery-3.5.1.min.js:2:43090)
    at HTMLDocument.v.handle (jquery-3.5.1.min.js:2:41074)
    at Object.trigger (jquery-3.5.1.min.js:2:71513)
    at HTMLFormElement.<anonymous> (jquery-3.5.1.min.js:2:72108)
    at Function.each (jquery-3.5.1.min.js:2:2976)
    at s.fn.init.each (jquery-3.5.1.min.js:2:1454)
    at s.fn.init.trigger (jquery-3.5.1.min.js:2:72084)
    at s.fn.init.s.fn.<computed> [as submit] (jquery-migrate-3.3.2.min.js:2:8557)
    at HTMLButtonElement.<anonymous> (survey.js:305:34)
(anonymous) @ survey.js:420
dispatch @ jquery-3.5.1.min.js:2
v.handle @ jquery-3.5.1.min.js:2
trigger @ jquery-3.5.1.min.js:2
(anonymous) @ jquery-3.5.1.min.js:2
each @ jquery-3.5.1.min.js:2
each @ jquery-3.5.1.min.js:2
trigger @ jquery-3.5.1.min.js:2
s.fn.<computed> @ jquery-migrate-3.3.2.min.js:2
(anonymous) @ survey.js:305
dispatch @ jquery-3.5.1.min.js:2
v.handle @ jquery-3.5.1.min.js:2

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 10 months ago #227800 by holch
Replied by holch on topic Can't Clean and Exit Surveys
Which Survey theme is used? If custom, try to test with a standard theme an see what happens.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

Please Log in to join the conversation.

  • mferraz
  • mferraz's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
1 year 10 months ago #227803 by mferraz
Replied by mferraz on topic Can't Clean and Exit Surveys
It's a original theme, vanilla.

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 10 months ago #227804 by holch
Replied by holch on topic Can't Clean and Exit Surveys
On my installation, Vanilla doesn't show the "Clean and exit" option at all. How did you activate it? I couldn't find a way to do so.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

Please Log in to join the conversation.

  • mferraz
  • mferraz's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
1 year 10 months ago #227834 by mferraz
Replied by mferraz on topic Can't Clean and Exit Surveys
Hi.

Thank you for your reply, you have to have a second question group to advance in order for that button to appear.
Also, keep in mind that you have to set Settings > Notifications and data > Participant may save and resume later and activate the survey.

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 10 months ago #227835 by holch
Replied by holch on topic Can't Clean and Exit Surveys

you have to have a second question group to advance in order for that button to appear.

Ok, this could be it.

Also, keep in mind that you have to set Settings > Notifications and data > Participant may save and resume later and activate the survey.


Hmmm, this doesn't make sense to me.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

Please Log in to join the conversation.

  • mferraz
  • mferraz's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
1 year 10 months ago #227850 by mferraz
Replied by mferraz on topic Can't Clean and Exit Surveys
You can try this issue at this address:
inqueritos.up.pt/index.php?r=survey/index&sid=211649

Thank you in advance.

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 10 months ago #227854 by holch
Replied by holch on topic Can't Clean and Exit Surveys
I tried it and a modal opens:

Por favor, confirmar: Sair e limpar inquérito?


When I click on OK, nothing happens. No error message, nothing.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

Please Log in to join the conversation.

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 10 months ago #227860 by tpartner
Replied by tpartner on topic Can't Clean and Exit Surveys
There is a JavaScript error but I'm on my phone so can't follow up right now.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

  • mferraz
  • mferraz's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
1 year 10 months ago #227970 by mferraz
Replied by mferraz on topic Can't Clean and Exit Surveys
Hi.

That's right, that's the problem.
And you'll probably get the JS error after enabling debug on your browser.

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose