Gnanu

Gnanu

  • 2k
  • 20
  • 3.2k

Implementing Dynamic Controls using Javascript

Jun 19 2019 6:06 AM
I'm getting json data like this

{
"questions": [
{
"qusetionId": 6,
"question": "Are You a Good Learner?",
"answer": "B ",
"answerId": 2,
"choices": [
{
"choiceId": 163,
"choiceLetter": "A ",
"choiceText": "No"
},
{
"choiceId": 164,
"choiceLetter": "B ",
"choiceText": "No"
}
]
},
{
"qusetionId": 7,
"question": "IAre You ready to takeon risk?",
"answer": "B ",
"answerId": 2,
"choices": [
{
"choiceId": 165,
"choiceLetter": "A ",
"choiceText": "No"
},
{
"choiceId": 166,
"choiceLetter": "B ",
"choiceText": "No"
}
]
},
{
"qusetionId": 8,
"question": "Are You Good Programmer?",
"answer": "B ",
"answerId": 2,
"choices": [
{
"choiceId": 179,
"choiceLetter": "A ",
"choiceText": "YES"
},
{
"choiceId": 180,
"choiceLetter": "B ",
"choiceText": "NO"
}
]
}
]
}
 
I need to implement radio controls for that questions.
With Yes or No options.


Thanks  in advance
Gnanu 

Brought to you by:

Answers (1)