on 08-09-2018 7:54 AM
Hi,
My requirement is to develop quiz app so that I need to bind json data in the radio button group. Then by clicking on next button I need to show the second questions and options in the form of radio button. How can I achieve this ?
Thanks,
Rahul
Hi Rahul,
First you bind the questions and Options using ElementBinding
LIke this way:
var sf = this.getView().byId("idSF"); sf.bindElement("/questions/0");then you have bind in View controls .
OnNextbutton press you have to get that view getPath() and Increase the object number of that View I show in above ["/questions/(0 this is the object number)"] its automatically change the Question.All the best ...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.