Last active
November 14, 2016 13:25
-
-
Save Thunderbird7/6662acd3f4e988f1c60982737e3ad28d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* split page by page with key */ | |
{ | |
// key for page 1 | |
"page1": [ /* key for page 1 */ | |
{ /* form type input */ | |
"type": "textfield", | |
"payload": { | |
"label": "Name", | |
"placeholder": "your name" | |
} | |
}, | |
{ // form type choice (YES or NO) | |
"type": "choice", | |
"payload": { | |
"question": "But I must explain ??? ", | |
"options": [ | |
"Yes", | |
"No" | |
] | |
} | |
}, | |
{ // form type mulit-choice | |
"type": "multiple-choice", | |
"payload": { | |
"question": "Qui blanditiis praesentium ?", | |
"options": [ | |
"cat", | |
"dog", | |
"pug", | |
"tiger", | |
"fish" | |
] | |
} | |
}, | |
{ // form type picker to choose something | |
"type": "picker", | |
"payload": { | |
"label": "Type of Business", | |
"options": [ | |
"Agriculture", | |
"Minning", | |
"Financial" | |
] | |
} | |
}, | |
{ // form type group (grouping form for multiple format) | |
"type": "input-group", | |
"payload": { | |
"title": "Emploment Detail", | |
"subTitle": "It is a long established ", | |
"forms": [/*YOU CAN PUT ANOTHOR JSON FORM STRUC HERE*/] | |
} | |
], | |
"page2": [/*like as above*/] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment