Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

Creating a form dynamically

$
0
0

I have a json as below:-

{"RespondantQuestionnare":[{"QuestionnareTypeID":"629","Questions":"I find that I have low energy levels and I have been feeling tired easily.","Mandatory":"Y","QuestionType":"Radio","Choices":["Yes","Sometimes","No"]},{"QuestionnareTypeID":"629","Questions":"I have been suffering from pains in various parts of my body.","Mandatory":"Y","QuestionType":"CheckBox","Choices":["Yes","Sometimes","No"]},{"QuestionnareTypeID":"629","Questions":"I find that I have been getting irritable and angry easily.","Mandatory":"Y","QuestionType":"Radio","Choices":["Yes","Sometimes","No"]},{"QuestionnareTypeID":"629","Questions":"I have been finding it difficult to take initiative and feel enthusiastic.","Mandatory":"Y","QuestionType":"CheckBox","Choices":["Yes","Sometimes","No"]},{"QuestionnareTypeID":"629","Questions":"I feel constantly under strain and I find it difficult to relax.","Mandatory":"Y","QuestionType":"CheckBox","Choices":["Yes","Sometimes","No"]},{"QuestionnareTypeID":"629","Questions":"I have been finding it difficult to interact with my family and friends.","Mandatory":"Y","QuestionType":"CheckBox","Choices":["Yes","Sometimes","No"]},{"QuestionnareTypeID":"629","Questions":"I have been feeling anxious and tense.","Mandatory":"Y","QuestionType":"CheckBox","Choices":["Yes","Sometimes","No"]},{"QuestionnareTypeID":"629","Questions":"I have been feeling sad and depressed without reason.","Mandatory":"Y","QuestionType":"TextBox","Choices":["TextBox"]},{"QuestionnareTypeID":"629","Questions":"I feel inadequate, worthless and guilty most of the time.","Mandatory":"Y","QuestionType":"TextBox","Choices":["TextBox"]},{"QuestionnareTypeID":"629","Questions":"I have been having sleep problems( either disturbed/excessive sleep).","Mandatory":"Y","QuestionType":"TextBox","Choices":["TextBox"]},{"QuestionnareTypeID":"629","Questions":"I find that I am losing confidence in myself.","Mandatory":"Y","QuestionType":"TextBox","Choices":["TextBox"]},{"QuestionnareTypeID":"629","Questions":"I have been experiencing palpitations/a thumping of my heart.","Mandatory":"Y","QuestionType":"TextBox","Choices":["TextBox"]},{"QuestionnareTypeID":"629","Questions":"Of late hobbies or activities that I enjoyed earlier do not interest me.","Mandatory":"Y","QuestionType":"TextBox","Choices":["TextBox"]}],"JSONErrorCode":0,"strRespMsg":""}

How can i dynamically create a form using this json.


Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>