Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
en:create:filter-solving [08.10.2014 09:25] – [Problem solution for filters] Update reference adminen:create:filter-solving [08.09.2015 16:01] – [Detect failures] admin
Line 20: Line 20:
  
 If question and filter have to be on the same page, the following chapter may help: [[:en:create:dynamic|Directly show questions for the selection of a certain option]] If question and filter have to be on the same page, the following chapter may help: [[:en:create:dynamic|Directly show questions for the selection of a certain option]]
 +
  
 ==== Top 2 ==== ==== Top 2 ====
Line 28: Line 29:
  
 Solution: The correct values of variables are listed in the **variable overview**. Before an after the value the command ''value()'' requires single (''<nowiki>'</nowiki>'') or double quotation marks (''%%"%%''), e.g. ''value('AB01_01')''. Solution: The correct values of variables are listed in the **variable overview**. Before an after the value the command ''value()'' requires single (''<nowiki>'</nowiki>'') or double quotation marks (''%%"%%''), e.g. ''value('AB01_01')''.
 +
  
 ==== Top 3 ==== ==== Top 3 ====
Line 46: Line 48:
  
   - The identification of each question is shown in squared brackets.   - The identification of each question is shown in squared brackets.
-  - In the upper right is a yellow cornerIf you move the mouse upon, is Shows the //debug information//. This is necessary for finding mistakes in filters.+  - In the upper right there is a button "debug information"Click it to see the //debug information// of the current questionnaire page. This is additional information on the page's procession -- and extremely valuable when searching for problems with filters and/or PHP code.
   - SoScisurvey will show hints and alerts if it detects a problem. This information is not shown to normal respondents (in contrast to failures).   - SoScisurvey will show hints and alerts if it detects a problem. This information is not shown to normal respondents (in contrast to failures).
    
-The debug information explain, among other things, the results of the value() function and when the questionaire jumps to which page using ''goToPage()''. If these information are not as expected you usually found the failure.  +The debug information explain, among other things, the results of the ''value()'' function and when the questionaire jumps to which page using ''goToPage()''. Using ''[[:de:create:functions:debug|debug()]]'', the debug mode also shows the contents of PHP variables. If these information are not as expectedyou usually found the failure.  
    
 ===== Filters in the forum ===== ===== Filters in the forum =====
en/create/filter-solving.txt · Last modified: 27.11.2020 21:08 by sophia.schauer
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
Driven by DokuWiki