{"id":26788,"date":"2013-12-17T06:07:08","date_gmt":"2013-12-17T06:07:08","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/jast-another-survey-tool\/"},"modified":"2013-12-25T00:13:59","modified_gmt":"2013-12-25T00:13:59","slug":"jast-another-survey-tool","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/jast-another-survey-tool\/","author":12499464,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"trunk","tested":"3.7.41","requires":"3.5.1","requires_php":"","requires_plugins":"","header_name":"Just another survey tool","header_author":"Li XIntao","header_description":"","assets_banners_color":"","last_updated":"2013-12-25 00:13:59","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/http:\/\/isurge.wordpress.com\/","header_author_uri":"http:\/\/http:\/\/isurge.wordpress.com\/","rating":1,"author_block_rating":0,"active_installs":10,"downloads":3001,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"":"<p>No upgrade needed now.<\/p>"},"ratings":{"1":"1","2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"823689","resolution":"1","location":"assets"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"823689","resolution":"2","location":"assets"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"823689","resolution":"3","location":"assets"},"screenshot-4.png":{"filename":"screenshot-4.png","revision":"823689","resolution":"4","location":"assets"},"screenshot-5.png":{"filename":"screenshot-5.png","revision":"824613","resolution":"5","location":"assets"}},"screenshots":{"1":"A popup survey questionnaire","2":"Post quoted survey result chart","3":"Show survey result in table","4":"Get the url of Survey page","5":"Set up the <strong>Survey<\/strong> widget"}},"plugin_section":[],"plugin_tags":[108,451,16919,364],"plugin_category":[42],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-26788","plugin","type-plugin","status-closed","hentry","plugin_tags-feedback","plugin_tags-interactive","plugin_tags-questionnaire","plugin_tags-survey","plugin_category-contact-forms","plugin_committers-isurge"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/jast-another-survey-tool.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/jast-another-survey-tool\/assets\/screenshot-1.png?rev=823689","caption":"A popup survey questionnaire"},{"src":"https:\/\/ps.w.org\/jast-another-survey-tool\/assets\/screenshot-2.png?rev=823689","caption":"Post quoted survey result chart"},{"src":"https:\/\/ps.w.org\/jast-another-survey-tool\/assets\/screenshot-3.png?rev=823689","caption":"Show survey result in table"},{"src":"https:\/\/ps.w.org\/jast-another-survey-tool\/assets\/screenshot-4.png?rev=823689","caption":"Get the url of Survey page"},{"src":"https:\/\/ps.w.org\/jast-another-survey-tool\/assets\/screenshot-5.png?rev=824613","caption":"Set up the <strong>Survey<\/strong> widget"}],"raw_content":"<!--section=description-->\n<p>Just another survey tool is a plugin which you can add survey questionnaire to wordpress based web site. Visitors can do the questionnaire by popup window or normal post page, the results will store in database.<\/p>\n\n<p>Other remarkable features include:<\/p>\n\n<ul>\n    <li>Easy to use, can add a questionnaire in 5 minutes. But still can handle very complicate questionnaire.<\/li>\n    <li>Chart and table mode to show survey results. <\/li>\n    <li>Post writers can quote realtime survey result in posts by chart. <\/li>\n    <li>Flexible css design, can customize to compliant with any theme.<\/li>\n<\/ul>\n\n<p>Visite <a href=\"http:\/\/xintao.3space.info\/\">Just another survey tool <\/a>to get more information.<\/p>\n\n<h3>Work with JAST<\/h3>\n\n<p>You can get more information at <a href=\"http:\/\/xintao.3space.info\/work-with-jast\/\">Work with JAST<\/a>.<\/p>\n\n<h4>Design the questionnaire.<\/h4>\n\n<p>JAST add a new post type <strong>Survey<\/strong> in wordpress, you can add a questionnaire by add a new <strong>Survey<\/strong> post. It's just like a normal post, you can write anything and use css to style it. Also you use shortcode <strong>lxt_jast_qust<\/strong> to define survey questions. The content between shortcode tags is the question's title, and the shotcode also have a few properties which are:<\/p>\n\n<ul>\n    <li><em>name<\/em> - A key to indentify the question, must supply.<\/li>\n    <li><em>type  <\/em> - Html 5 input element\n    type, select and textarea element, mostly used are radio\\checkbox\\text\\textarea. Use \"text\" when not supply.<\/li>\n    <li><em>class <\/em> - Css class, not required. Use when you need diffrent question layout.<\/li>\n    <li><em>option<\/em> - Question answer options separate by a semi-colon.<\/li>\n<\/ul>\n\n<p>Below is an example <strong>Survey<\/strong> post content.<\/p>\n\n<pre>\n[lxt_jast_qust name=\"1\" type=\"checkbox\" option=\"Business site;Personal blog;Have a try;\"]1. What do you use <em>Wordpress<\/em> for?[\/lxt_jast_qust]\n[lxt_jast_qust name=\"2\" type=\"radio\" option=\"Yes;No\"]2. Do you need a survey tool for Wordpress?[\/lxt_jast_qust]\n[lxt_jast_qust name=\"4\" type=\"select\" option=\";Chrome;Fire fox;Opera;IE\"]3. What's your favourite broswer?[\/lxt_jast_qust]\n[lxt_jast_qust name=\"3\" type=\"textarea\"]4. What is the most important function a survey tool needed?[\/lxt_jast_qust]\n[lxt_jast_submit value=\"Done&gt;&gt;\"]\n<\/pre>\n\n<p>You can copy the code to <strong>Survey<\/strong> post editor and edit it to see the effect.<\/p>\n\n<p>At the end of a questionnaire you need add shotcode <strong>lxt_jast_submit<\/strong>, which will add a submit button the vistor can submit his answer. The example above showed how to use it. There are four property of <strong>lxt_jast_submit<\/strong>:<\/p>\n\n<ul>\n    <li><em>value    <\/em> - Text of the button.<\/li>\n    <li><em>afterurl<\/em> - Redirect url after submit the answer when show questionnaire as normal page, default is previous page.<\/li>\n    <li><em>class     <\/em> - Css class, not required. Use when you need diffrent question layout.<\/li>\n    <li><em>message <\/em> - Greeting text\n    showed after submiting the answer, don't show greeting when not supply.<\/li>\n<\/ul>\n\n<h4>Let visitors do the questionnaire.<\/h4>\n\n<p>Visitor can view and do the questionnaire by two ways, by popup window or normal page. I recommend popup window for small questionnaire which have less than 5 questions. One can put a popup window link by widget which fixed on the site or by shortcode which showed within post or page. The plugin have a widget called <em>Survey<\/em>, it will contain a link which popup the survey you selected.<\/p>\n\n<p>Sometimes a survey relate with a post's subject, it make sense to put the survey's link within the post. One can do this by shortcode <strong>lxt_jast_survey<\/strong>. It has a property named <em>title<\/em>, whose value is the title of the survey want to popup. Below is an example of how to use it.<\/p>\n\n<pre>\n[lxt_jast_survey title=\"Survey about WordPress\"]\n<\/pre>\n\n<p>For some survey more complicate and serious, vistor can view it by a normal page. <strong>Survey<\/strong> posts don't show on the front page by default. You need add a link to the survey page manually at where you want the link display.The link URL can be get by <em>Get shortlink<\/em> button at survey edit page.<\/p>\n\n<h4>View and use the survey results<\/h4>\n\n<p>Administrator can view the survey results at <strong>Survey results<\/strong> page which under the <strong>Survey<\/strong> menu. The operation on this page is straightforward, just select the survey and question by combo-box to see the result.<\/p>\n\n<p>Sometimes we need show the survey results to the reader, shortcode <strong>lxt_jast_result<\/strong> will do that, it display a realtime result chart in post or page. For example:<\/p>\n\n<pre>\n[lxt_jast_result title=\"Survey about WordPress\" name=\"2\"]\n<\/pre>\n\n<p>This shortcode has three properties:<\/p>\n\n<ul>\n    <li><em>title    <\/em> - title of the survey post, must not null.<\/li>\n    <li><em>name<\/em> - which indicate the question, when not supply, it will show the chart of all questions which have option answer.<\/li>\n    <li><em>type   <\/em> - indicate the chart type, can be <em>pie<\/em> and <em>bar<\/em>, when not supply, it will use <em>pie<\/em> for radio type question and <em>bar<\/em> for checkbox type question.<\/li>\n<\/ul>\n\n<p>You can get more information at <a href=\"http:\/\/xintao.3space.info\/work-with-jast\/\">Work with JAST<\/a>.<\/p>\n\n<!--section=installation-->\n<p>JAST can be installed via the WordPress.org plugin directory. You can download the package from here, and upload the files to your server. Or you can open <strong>Plugins -&gt; Add new<\/strong> menu in Wordpress backend and search for \"Just another survey tool\" and install the first result item.<\/p>\n\n<p>After activating JAST, you need add some css rules which can altered later to your theme's style.css to make the questionnaire show correct. You can do this by two ways:<\/p>\n\n<ul>\n<li>Add \"@import url('..\/..\/plugins\/jast-another-survey-tool\/public\/assets\/css\/public.css');\" (no quotation marks) to style.css, must before any other rules.<\/li>\n<li>Copy the content in wp-content\/plugins\/jast-another-survey-tool\/public\/assets\/css\/public.css to style.css, and copy wp-content\/plugins\/jast-another-survey-tool\/public\/assets\/css\/ajax-loader.gif to your theme's directory.<\/li>\n<\/ul>\n\n<p>Then you are able to improve your web site by supply professtional questionnaires.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt>Why the survey post dosn't show correct?<\/dt>\n<dd><p>This my happen when content of public.css dosn't merge to style.css of current\ntheme. If use @import to merge the CSS, pay attention to the single quotes which surrounding\nthr url of public.css.<\/p><\/dd>\n<dt>How could change the permalink of Survey post type<\/dt>\n<dd><p>You can set <em>Survey<\/em> post type slug at <em>Settings -&gt; Survey<\/em>.<\/p><\/dd>\n<dt>Why my *Survey* post type slug dosn't work<\/dt>\n<dd><p>After you change the permalink structure, you need to re-active the plugin to\nflush the rewrite rule.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.9.0<\/h4>\n\n<p>The first version.<\/p>","raw_excerpt":"JAST supply a simple way to let your site interactive with the visitor. It&#039;s easy to use, but can still do complicate survey questionnaires.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/26788","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=26788"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/isurge"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=26788"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=26788"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=26788"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=26788"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=26788"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=26788"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}