Welcome to the LimeSurvey Community Forum

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

Deactivate popup messages (when mandatory questions have not been answered)

More
11 years 10 months ago - 11 years 10 months ago #111507 by Christo
Dear all,

Is it possible to deactive the popup messages (dialogue boxes) which appear when mandatory questions have not been answered?
I have read about the "$showpopups = -1" command. Can I add this command into the template.js, and if so, how should it look like please? (Ideally, I would like to change this setting only for one particular survey, if this is possible.)

Many thanks,
Christoph
Last edit: 11 years 10 months ago by Christo.
The topic has been locked.
More
11 years 3 months ago #117474 by jelo
You can add the setting in the file /application/config/config.php

Add 'showpopups'=>0 as shown in the code example:
Code:
// Use the following config variable to set modified optional settings copied from config-defaults.php
  'config'=>array(
  // debug: Set this to 1 if you are looking for errors. If you still get no errors after enabling this
  // then please check your error-logs - either in your hosting provider admin panel or in some /logs directory
  // on your webspace.
  // LimeSurvey developers: Set this to 2 to additionally display STRICT PHP error messages and get full access to standard templates
    'debug'=>0,
    'debugsql'=>0, // Set this to 1 to enanble sql logging, only active when debug = 2
         'showpopups'=>0
    )

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose