Welcome to the LimeSurvey Community Forum

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

Need a button to reset all answers

  • wajihabari
  • wajihabari's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 2 months ago #164159 by wajihabari
Need a button to reset all answers was created by wajihabari
Hey I am very new to LimeSurvey with almost no knowledge of script writing or coding
I need a button at the end of my page which clears all the answers.
Need to make sure that cookies are not stored in the browser so that previous preselected are not ticked if survey is reloaded/refreshed
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 2 months ago #164204 by holch
Replied by holch on topic Need a button to reset all answers
I assume that you will run the survey on one machine various times? You can use "newtest" in the URL, this should resolve your problem.
manual.limesurvey.org/Workarounds:_Surve...ng_the_same_computer

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

The following user(s) said Thank You: wajihabari
The topic has been locked.
  • wajihabari
  • wajihabari's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 2 months ago #164209 by wajihabari
Replied by wajihabari on topic Need a button to reset all answers
Hey thanks for responding
Actually I am looking for a button at the end of the each group of questions( divided as pages of the survey)

The user when clicks on the button all answers of only that page ( group) are refreshed/cleared while the answers of rest of the responses of previous question remain intact
Let me know if possible
Going nuts in trying to figure this out
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 2 months ago #164210 by holch
Replied by holch on topic Need a button to reset all answers
I am only aware of the button that cleans all responses from the database, but not just for the current page/group of questions. Maybe you can do something with Javascript, but this is not my area of expertise.

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

The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 2 months ago #164214 by tpartner
Replied by tpartner on topic Need a button to reset all answers
There would be no answers in the database for the current page unless it had been submitted previously.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose