Overview
This App is to ask questions and show a results screen depending on the answers or send the results to a Channel.
App Configuration
Configuration Entries
BannerImageUrl |
The URL for the image on top |
DescriptionText |
To set the text below the image and the questions |
QuestionsJSON |
The JSON to define the questions (sample below) – BBCode ready |
ResultPagePassedImageURL |
The URL of the image on the results page if all questions answered with no |
ResultPageFailedImageURL |
The URL of the image on the results page if at least one question is answered with yes |
ResultTextPassed |
The text below the image on the results page if all questions answered with no |
ResultTextFailed |
The text below the image on the results page if at least one question answered with yes |
AppTitle |
The Title on top of the App |
SubmitButtonText |
The Text for the submit button at the bottom |
ChannelId |
If this ID is set with a Channel ID, the results will be sent to that channel instead of showing the results screen |
SendResultOnly |
If this is true and a ChannelId is defined, the card sent to the channel will contain the result text (defined in property “ResultTextPassed” and “ResultTextFailed” ) only (no the questions) |
SendCardToAuthor |
If you defined to send the result to a channel and set this to TRUE, the individual that answered the questions will get a card with the result |
ResultCardTitle |
The title of the card sent to the channel |
AlwaysShowResultScreen |
Default is FALSE. If set to true and a channel is defined and the result card was sent successfully, the user won’t see the ‘success’ popup but the results screen instead. |
Questions2JSON |
The JSON to define a second set of questions (sample below) – BBCode ready |
TextAboveQuestions2 |
To set the text above the second set of questions (BBCode) |
TextBelowQuestions |
To set the text below all questions (BBCode) |
TextboxTop_Visible |
Displays a textbox above the questions |
TextboxTop_WatermarkText |
Watermark text for the textbox above the questions |
TextboxTop_HeaderText |
A Header text for the textbox above the questions |
TextboxBottom_Visible |
Displays a textbox below the questions |
TextboxBottom_WatermarkText |
Watermark text for the textbox below the questions |
TextboxBottom_HeaderText |
A Header text for the textbox below the questions |
TextboxTop_Required |
TRUE if it’s required to enter text in the textbox above the questions (default FALSE) |
TextboxBottom_Required |
TRUE if it’s required to enter text in the textbox below the questions (default FALSE) |
TextboxRequired_ErrorMessage |
Error text if the text for a required textbox is not set |
Sample JSON for the Setting “QuestionsJSON”
Properties
QuestionText |
The question |
Sample
[{"QuestionText":"[b]Test: [/b]Question 1"},{"QuestionText":"Question 2"},{"QuestionText":"Question 3"}]
Comments
0 comments
Please sign in to leave a comment.