Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
en:create:checks [22.12.2014 17:39] – [Probing] alexander.ritteren:create:checks [06.01.2015 18:53] – [Individual Response Checks] alexander.ritter
Line 64: Line 64:
 With the PHP function [[:en:create:functions-proc#getanswermissing|getAnswerMissing()]] and [[:en:create:functions-proc#listfails|listFails()]] you are able to check which questions or items were not answered. By using [[:en:create:functions:text|text()]] you can then display customized error message text -- but only in addition to the predefined error message. With the PHP function [[:en:create:functions-proc#getanswermissing|getAnswerMissing()]] and [[:en:create:functions-proc#listfails|listFails()]] you are able to check which questions or items were not answered. By using [[:en:create:functions:text|text()]] you can then display customized error message text -- but only in addition to the predefined error message.
  
-===== Individual Response Checks =====+===== Customized Response Checks =====
  
-If the predefined checks are insufficient, you can programme an individual response check using a filter and the [[:en:create:functions:repeatpage|repeatPage()]] function.+If the predefined checks are insufficient, you can program a customized response check using a filter and the [[:en:create:functions:repeatpage|repeatPage()]] function.
  
-The PHP code used to check the answer must be put on the page __after__ the question at the top. Therefore, if the question that needs to be checked is on Page 2 then the PHP code that checks the question must be put  at the top on Page 3.+The PHP code used to check the answer must be put on the page __after__ the question at the top. Therefore, if the question that needs to be checked is on page 2 then the PHP code that checks the question must be put at the top on page 3.
  
 **Tip:** Further details about programming filters can be found under [[:en:create:filters|Filter Questions and Filters]]. **Tip:** Further details about programming filters can be found under [[:en:create:filters|Filter Questions and Filters]].
en/create/checks.txt · Last modified: 23.11.2020 15:35 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