アンケートサンプル – 2
アンケートのサンプルです。
回答アクション機能を使用しています。
以下のメタデータをアンケートのカスタムフィールド’qstnr_metajson’ にペーストすればimport出来ます。
{"viewtype":"5","isPublic":true,"items":[{"type":"label","text":"Which do you like better?","index":0,"qid":1},{"type":"radio","text":"Dog","index":1,"required":false,"constraint":{},"qid":2},{"type":"radio","text":"Cat","index":2,"required":false,"constraint":{},"qid":2},{"type":"label","text":"What kind of dogs do you like?","index":3,"constraint":{"show":{"or":[{"item":"[0,0]"}]}},"qid":2},{"type":"text","text":"Please describe your favorite the dogs.","index":4,"required":false,"constraint":{},"qid":3},{"type":"label","text":"What kind of cats do you like best?","index":5,"constraint":{"show":{"or":[{"item":"[0,1]"}]}},"qid":3},{"type":"radio","text":"Abyssinian","index":6,"required":false,"constraint":{},"qid":4},{"type":"radio","text":"American Shorthair","index":7,"required":false,"constraint":{},"qid":4},{"type":"radio","text":"Other","index":8,"required":false,"constraint":{},"qid":4},{"type":"label","text":"Other cats? please describe","index":9,"constraint":{"show":{"or":[{"item":"[2,2]"}]}},"qid":4},{"type":"text","text":"Please describe your favorite cats.","index":10,"required":false,"constraint":{},"qid":5}],"usefss":false,"fss":"","notifyflag":true,"unique_email":true,"unique_name":false,"unique_ip":false,"unique_browser":false,"unique_cookie":true,"cookie_expire_months":0,"cookie_expire_days":365,"cookie_expire_hours":0,"cookie_expire_mins":0,"disappear_after_answer":false,"form_alternative_content_answered":"","disappear_after_timeout":false,"form_expire_datetime":"2016-02-02T01:43","form_alternative_content_expired":"","use_action_setting":true,"ack_type":"default","action_cond":{"submit":{"or":[{"item":"[1]"},{"item":"[2,0]"},{"item":"[2,1]"},{"item":"[3]"}]}},"submit_text":"Submit","ack_text":"Thank you for answering!","dismiss_text":"Dismiss","success":true,"pll_ajax_backend":1,"pll_post_id":627}