getChoiceCount(questionID , answerID, onSuccess)

Description

This function will help you to fetch the choice count for a specific answer option of a question. Note: This function is an async function and doesn't return any value. The value can be fetched through onSuccess function as below
getChoiceCount(questionID , answerID, function(value) {
//You will get the value here, so write your code here
})


Example:

  • getChoiceCount(123, 43353, function(value) {})