Check out the LimeSurvey source code on GitHub!

Alerts / error messages: Javascript Alerts vs. inline messages

  • holch
  • holch's Avatar Topic Author
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 4 months ago #66396 by holch
Hi!

I remember vaguely that there was once the option where you could choose if alerts (about mandatory questions, errors when filling in, etc.) are shown via javascript or via PHP.

I really don't like those Javascript alerts and I'd rather prefer an inline message on the page, but I can't find where to set that. Was that taken out? I am quite sure that there was an option once or am I just getting old and crazy? ;-)

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in to join the conversation.

More
5 years 4 months ago #66413 by Mazi
Have a look at "$showpopups: Show popup messages if mandatory or conditional questions have not been answered correctly. 1=Show popup message (default), 0=Show message on page instead."
-> docs.limesurvey.org/Optional+settings&st...rvey#Survey_Behavior


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

  • holch
  • holch's Avatar Topic Author
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 4 months ago #66432 by holch
Hi Mazi!

Thank you for the quick reply! I knew it was there somewhere, but I had searched the config.php and didn't find anything, it looked awfully empty. ;-)

Now I know why. This section in the documentation is very important:

These optional settings can only be found in config-defaults.php of a standard installation - some of them are only used for first installation and overriden in Global settings. If you want to change these settings please do not change it in config-defaults.php but copy the particular setting/line over to config.php and change it there. All settings in config.php overwrite the default values from config-defaults.php and starting with version 1.87 some of these settings get overridden in the Global settings dialog. This way it is much easier to upgrade your installation at a later time!


I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in to join the conversation.

More
5 years 4 months ago #66445 by Mazi
<ironic mode>
You're welcome!

If our hints have been helpful and you enjoy limesurvey please consider a donation to the team .
We do all this in our free time and you don't have to pay a penny for this software.

Without your help we can't keep this project alive.
</ironic_mode>

;)


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

  • holch
  • holch's Avatar Topic Author
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 4 months ago #66458 by holch
;-)

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form