Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
en:create:checks [22.12.2014 17:39] – [Probing] alexander.ritter | en:create:checks [12.01.2015 21:29] – admin |
---|
Under **Text Elements and Labels** you can customize all error messages in //Other Texts//. Please note, wording cannot be customized for individual questions, except when you use individual answer checking (see below). | Under **Text Elements and Labels** you can customize all error messages in //Other Texts//. Please note, wording cannot be customized for individual questions, except when you use individual answer checking (see below). |
| |
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:getanswermissing|getAnswerMissing()]] and [[:en:create:functions: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]]. |