Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision |
en:create:functions:getanswermissing [16.01.2015 18:54] – [getAnswerMissing()] alexander.ritter | en:create:functions:getanswermissing [24.01.2015 13:12] (current) – [getAnswerMissing()] alexander.ritter |
---|
''boolean **getAnswerMissing**()'' | ''boolean **getAnswerMissing**()'' |
| |
The function ''getAnswerMissing()'' can be used to determine whether a page is repeatedly displayed because there was a response missing, __or__, because the specified format was not adhered to. This function can be used, for example, to display additional information. | The function ''getAnswerMissing()'' can be used to determine whether a page is repeatedly displayed because a response was missing, __or__ because the specified format was not adhered to. This function can be used, for example, to display additional information. |
| |
**Tip:** If you run a [[:en:create:checks#customized_response_check|customized response check]], input a text element ID in the command ''[[:en:create:functions:repeatpage|repeatPage]]'' to show this as an error message. | **Tip:** If you run a [[:en:create:checks#customized_response_check|customized response check]], input a text element ID in the command ''[[:en:create:functions:repeatpage|repeatPage]]'' to show this as an error message. |
===== Example ===== | ===== Example ===== |
| |
The following PHP code displays the text element "infoAB01", if the page is redisplayed due to a missing or incorrect response (e.g. in question AB01). | The following PHP code displays the text element "infoAB01" if the page is redisplayed due to a missing or incorrect response (e.g. in question AB01). |
| |
<code php> | <code php> |