I have a large set of JSON data which I need to process somehow into forms for users to interact with, fill in data and submit.
However, there are far too many to create all the forms by hand and I wonder if anyone can recommend a module/package which I can use to create such large number of forms dynamically.
Below is a very small sample section of json data, each section in the json needs to be processed into a unique step of a multipage form:
{
"one":{
"Label": "Please provide your age and date-of-birth",
"fields": [
"Age",
"DOB"
]
},
"two":{
"Label": "Please provide your address",
"fields": [
"Address"
]
},
"three":{
"Label": "Please provide your 6 target areas",
"fields": [
"Area 1",
"Area 2",
"Area 3",
"Area 4",
"Area 5",
"Area 6"
]
}
}
As the data above shows, each of the forms have different number of fields. The labels will be textfield lables and the fields will be textfields.
Can anyone offer some suggestions or recommendations?