Sample Questionnaire – 1
This is a sample questionnaire generated by Questionnaire plugin.
Demonstraiting ‘Constraint feature’.
You can import the questionnaire above by pasting the following metadata into the custom field ‘qstnr_metajson’.
{"viewtype":"5","isPublic":true,"items":[{"type":"label","text":"Could you please answer this question?","index":0,"qid":1},{"type":"radio","text":"Yes","index":1,"required":false,"constraint":{},"qid":2},{"type":"radio","text":"No","index":2,"required":false,"constraint":{},"qid":2},{"type":"label","text":"How do you feel today?","index":3,"constraint":{"show":{"and":[{"item":"[0,0]"}]}},"qid":2},{"type":"radio","text":"No good","index":4,"required":false,"constraint":{},"qid":3},{"type":"radio","text":"None of your business.","index":5,"required":false,"constraint":{},"qid":3},{"type":"label","text":"Why no good?","index":6,"required":false,"constraint":{"show":{"and":[{"item":"[1,0]"}]}},"qid":3},{"type":"radio","text":"I've caught cold","index":7,"required":false,"constraint":{},"qid":4},{"type":"radio","text":"None of your business","index":8,"required":false,"constraint":{},"qid":4},{"type":"label","text":"OK good bye","index":9,"required":false,"constraint":{"show":{"or":[{"item":"[0,1]"},{"item":"[1,1]"},{"item":"[2,1]"}]}},"qid":4}],"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-01-07T19:23","form_alternative_content_expired":"Timeout has expired.","use_action_setting":false,"ack_type":"default","action_cond":{"none":null},"submit_text":"Submit","ack_text":"Thank you for answering!","dismiss_text":"Dismiss","success":true,"pll_ajax_backend":1,"pll_post_id":547}