Advertisement
khangnguyen

click-new-questionnaire

Jul 23rd, 2013
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [
  2.     {
  3.         "id": 7,
  4.         "type": "multiple",
  5.         "question": "new question",
  6.         "options": [
  7.             {
  8.                 "text": "new option",
  9.                 "html": "<p>First <strong>option</strong></p>",
  10.                 "id": 5
  11.             },
  12.             {
  13.                 "text": "new option 2 with image",
  14.                 "html": "<p><strong>test</strong></p><p>[[image]]</p>",
  15.                 "id": 6
  16.             }
  17.         ],
  18.         "validators": []
  19.     },
  20.     {
  21.         "id": 6,
  22.         "type": "multi_select",
  23.         "question": "multi",
  24.         "options": [
  25.             {
  26.                 "text": "noimage",
  27.                 "id": 3
  28.             },
  29.             {
  30.                 "text": "image",
  31.                 "html": "<p>testing</p><p>[[multi-image]]</p><p><span style=\"color: #ff0000;\"><strong>red bold text</strong></span></p>",
  32.                 "id": 4
  33.             }
  34.         ],
  35.         "validators": []
  36.     },
  37.     {
  38.         "text": "single-no image",
  39.         "question": "single",
  40.         "options": [
  41.             {
  42.                 "text": "single-image",
  43.                 "html": "<ul><li><span style=\"text-decoration: underline;\"><span style=\"color: #0000ff;\">blue underline with bullet</span></span></li><li>bullet 2</li></ul><p>[[single-image]]</p>",
  44.                 "id": 1
  45.             },
  46.             {
  47.                 "text": "single-no image",
  48.                 "id": 2
  49.             }
  50.         ],
  51.         "validators": [],
  52.         "type": "multiple",
  53.         "id": 5
  54.     },
  55.     {
  56.         "type": "input",
  57.         "question": "add more",
  58.         "id": 1,
  59.         "validators": []
  60.     },
  61.     {
  62.         "type": "video",
  63.         "question": "add video",
  64.         "id": 4,
  65.         "validators": []
  66.     },
  67.     {
  68.         "type": "image",
  69.         "question": "add pics",
  70.         "id": 2,
  71.         "validators": []
  72.     },
  73.     {
  74.         "type": "doc",
  75.         "question": "add docs",
  76.         "id": 3,
  77.         "validators": []
  78.     }
  79. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement