Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: how to delete "close and clear survey" button or let this button not be seen?

how to delete "close and clear survey" button or let this button not be seen? 4 years 7 months ago #71977

  • zxj81
  • zxj81's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 7
  • Karma: 0
Could you please tell me how to delete "close and clear survey" button or let this button not be seen?
Last Edit: 4 years 7 months ago by zxj81.
The administrator has disabled public write access.

how to delete "close and clear survey" button or let this button not be seen? 4 years 7 months ago #71978

  • Ben_V
  • Ben_V's Avatar
  • Offline
  • Platinum Lime
  • Posts: 1805
  • Thank you received: 445
  • Karma: 111
Hi,
Have a look at the navigator.pstpl file of your template (if it's an original one, maybe better to do a copy); You will find at least 3 placeholders: {SAVE} {NAVIGATOR} & {CLEARALL}

Where:
{SAVE} Displays the 'Save your responses so far' button to offer the user to save and come back later to continue the survey. If the Save option is deactivated in the survey properties the tag will not be shown and ignored.

{NAVIGATOR} Displays navigation buttons (next, prev, last).

{CLEARALL} Displays the "Exit and Clear Results" link.


Delete what you want or wrap it as HTML comment <!-- {CLEARALL} -->


Ben/
Benoît

EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
All LS releases => bit.ly/1VMuTDu | 2.06lts => bit.ly/1Qv44A1
Demo surveys => bit.ly/20NW9V8 (already included in /docs/demosurveys)
Last Edit: 4 years 7 months ago by Ben_V.
The administrator has disabled public write access.

how to delete "close and clear survey" button or let this button not be seen? 4 years 7 months ago #71998

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5984
  • Thank you received: 368
  • Karma: 260
Such survey elements can mostly be edited by using the template editor as benitov has described above.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

how to delete "close and clear survey" button or let this button not be seen? 4 years 7 months ago #72004

  • zxj81
  • zxj81's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 7
  • Karma: 0
Thanks for your help! However, I do not know HTML very well. So, I paste the orginal code here. Could you please teach me how to delete which codes???

<table class="navigator-table">
<tr>
<td class="clear-all" align="left" nowrap="nowrap" width="33%">{CLEARALL}</td>
<td class="save-all" align="center" nowrap="nowrap" width="33%">{SAVE}</td>
<td class="submit-buttons" align="right" nowrap="nowrap" width="33%">{NAVIGATOR}</td>
</tr>
</table>
The administrator has disabled public write access.

how to delete "close and clear survey" button or let this button not be seen? 4 years 7 months ago #72009

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5984
  • Thank you received: 368
  • Karma: 260
Simply delete this part:
{CLEARALL}

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.237 seconds
Imprint                   Data Protection Statement                  Revocation information and revocation form