Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

THEMA: Disappearing Previous and Next buttons

Disappearing Previous and Next buttons 1 Jahr 2 Monate her #96558

Version 1.92+
Build 120919
Browser: Mozilla Firefox

Problem: When I "Test this survey", the "Next" and "Previous" buttons disappear when I get to the sixth group of questions.

PS. I can't switch to the newest version because errors have occurred while importing all of the question groups in attempts to switch to a newer version.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Disappearing Previous and Next buttons 1 Jahr 2 Monate her #96565

  • tpartner
  • tpartners Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 4071
  • Dank erhalten: 748
  • Karma: 341
Do you have any JavaScript applied to the survey?

Have you tested with the default template.
Cheers,
Tony Partner

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

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Disappearing Previous and Next buttons 1 Jahr 2 Monate her #96628

I tested with the default template and I still have the same issue with the next and previous buttons not showing up on some pages. I've also noticed that when I leave a mandatory question blank and click next, the page refreshes and the next and previous buttons disappear as well.

The only JavaScript applied to the the survey is as follows:

<!-- INPUT NAMES -->

<input type='hidden' name='fieldnames' value='58123X1511X25939|58123X1511X25940DM11A1|58123X1511X25940DM11A2|58123X1511X25940DM11A3|58123X1511X25940DM11A4|58123X1511X25940DM11A5|58123X1511X25940DM11A6|58123X1511X25940DM11A7|58123X1511X25940DM11A8|58123X1511X25940DM11A9|58123X1511X25940DM1110|58123X1511X25951|58123X1511X56626DM12A1|58123X1511X56626DM12A2|58123X1511X56626DM12A3|58123X1511X56626DM12A4|58123X1511X56626DM12A5|58123X1511X56626DM12A6|58123X1511X56626DM12A7|58123X1511X56626DM12A8|58123X1511X56626DM12A9|58123X1511X56626DM12A10' id='fieldnames' />
<script type='text/javascript'>
<!--
// register the standard (last) onsubmit handler *first*
document.limesurvey.onsubmit = std_onsubmit_handler;
-->
</script><table class="survey-header-table">
<tr>
<td class="survey-description">
<h2>SAAGA</h2><br />
<p>This is the Lime implementaiton of the SAAGA</p>
</td>

</tr>
<tr>
<td class="graph">
<script type="text/javascript">
$(function() {
$("#progressbar").progressbar({
value: 1
});
});
</script>

<!--JavaScript FOR CONDITIONAL QUESTIONS -->
<script type='text/javascript'>
<!--
var LEMradix='.';
var numRegex = new RegExp('[^-' + LEMradix + '0-9]','g');
var intRegex = new RegExp('[^-0-9]','g');
function fixnum_checkconditions(value, name, type, evt_type, intonly)
{
newval = new String(value);
if (typeof intonly !=='undefined' && intonly==1) {
newval = newval.replace(intRegex,'');
}
else {
newval = newval.replace(numRegex,'');
}
if (LEMradix === ',') {
newval = newval.split(',').join('.');
}
if (newval != '-' && newval != '.' && newval != '-.' && newval != parseFloat(newval)) {
newval = '';
}
displayVal = newval;
if (LEMradix === ',') {
displayVal = displayVal.split('.').join(',');
}
if (name.match(/other$/)) {
$('#answer'+name+'text').val(displayVal);
}
$('#answer'+name).val(displayVal);

if (typeof evt_type === 'undefined')
{
evt_type = 'onchange';
}
checkconditions(newval, name, type, evt_type);
}

function checkconditions(value, name, type, evt_type)
{
if (typeof evt_type === 'undefined')
{
evt_type = 'onchange';
}
if (type == 'radio' || type == 'select-one')
{
var hiddenformname='java'+name;
document.getElementById(hiddenformname).value=value;
}
else if (type == 'checkbox')
{
if (document.getElementById('answer'+name).checked)
{
$('#java'+name).val('Y');
} else
{
$('#java'+name).val('');
}
}
else if (type == 'text' && name.match(/other$/) && typeof document.getElementById('java'+name) !== 'undefined' && document.getElementById('java'+name) != null)
{
$('#java'+name).val(value);
}
ExprMgr_process_relevance_and_tailoring(evt_type,name,type);
}
// -->
</script>
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Disappearing Previous and Next buttons 1 Jahr 1 Monat her #96632

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 6236
  • Dank erhalten: 794
  • Karma: 238
Hello,

Set debug to 2 at config.php, and view memory allowed for your limesurvey installation.

Did you have access to webserver error log ?
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Moderatoren: ITEd
Ladezeit der Seite: 0.146 Sekunden
Donation Image