Surveys WordPress Plugin

The Surveys WordPress plugin lets you add surveys to your blog. You can let the visitors take surveys and see the result from the admin side. The user who take the survey can enter their details at the end of the survey – or leave it as an anonymous result.

If you are new to this blog, this is the Plugin Week. I am going to release one wordpress plugin each day, every day for one week(ie. Monday to Friday). Each day you will get a new plugin by me. This is the fourth plugin in this series. The earlier ones were…

Note: Surveys is a beta plugin(as are most of the plugins released in the Plugin Week) – so watch out for bugs. And trust me, there will be a lot of them.

Usage/Screenshots

First, Download, install and activate the Surveys plugin. Then go to Manage > Surveys section to create new surveys – or edit existing ones. After creating a survey insert the HTML comment [SURVEYS 1] into a post. Here, the 1 should be the ID of the survey you want to insert into that post.

The client side of the plugin will look something like this – your visitors will see this part…

You can see the result of the survey from the admin side – there are two ways to see the data…

Aggregate

This will show the results each question by aggregating all the data so far. This will look like a poll result. This mode is useful to make decisions – you can immediately see the most favored answers for each question.

Individual Responses

You can also view all the answers provided by each visitor one by one. This mode has its uses as well.

See it in action

I have set up a demo for Surveys over at BinnyVA WordPress demo blog. Take a look.

Feedback

If you have any suggestions or notice any problems with the plugin, post it in the Surveys forum. I’ll take a look at it – as soon as the Plugin Week is over – I am way too busy right now 🙂

Next plugin – will be released tomorrow.

258 Comments

  1. Thanks for this plugin, Binny! It’s really easy to use.

    I’ve got it running on my blog for a survey on the Texas Tech/Oklahoma game this weekend. Some feedback and questions:

    1) Being able to force an order of the questions would have been nice. They didn’t come out in the order I put them in; neither were they alphabetical.
    2) If you only have on question in the survey, it would be nice if only one click were needed.
    3) Does it place any sort of limit on the voting by individuals?

  2. 1) That’s odd – it works out correctly for me. Anyway, reordering questions is a feature I will add in the next relase – that should fix the problem.

    2) Good point. I actually have another plugin – Pollin – that is used for single questions cases. But I’ll add that feature to the Surveys as well.

    3) This limit exists in the Pollin plugin – again, I’ll add it to surveys as well.

    Thanks for the feedback.

  3. I had to signup for a ConstantContact account inorder to host a survey for my higher secondary investigatory project.

    This one is an awesome release.
    I hope you’ll put up a poll with the “pollin” plugin to select the favourite plugin out of those released this week.

  4. Love the concept and simplicity of this plug-in, however my first test was a simple single question survey. When inserting the comment:
    into a post or a page I see nothing in the WordPress page. Using the current version of WP.

  5. Hi
    This looks to be a most useful plug-in.
    Unfortunately I seem to be getting 2 votes recorded for each single vote so the results are in effect doubled.

    Currently running word-press 2.6.3. under MAMP PRO on my Macbook Pro.

    Any thoughts?

  6. I fixed the bug with

    change line 10 in survey_action.php from:

    $_REQUEST[‘submit’]==’Save’

    to

    isset($_REQUEST[‘submit’])

    all in the if statement

    Not everyone uses English 😉

    Great plugin!

  7. btw do the same in line 8 in questions.php

    unfortunately I still have another bug: my questions won’t get displayed in the acutal post. I do get the “next” button but no questions or other information.

    I guess it still has something to do with the language dependant code.

  8. Spine, I get the same issue on my blog I can see the next button but my questions won’t show up for some strange reason.

    Any help would be greatly appreciate Binny and thanks for a great plugin if I can get it working I’ll do a quick youtube video about it… 🙂

    great stuff

  9. Hi, I want to use the survey, but for some reason he does not show the survey in the order I want to show it.
    For example in admin:
    Question 1
    Answer 1, Answer 2, Answer 3

    Is shown as
    Question 1
    Answer 1, Answer 3, Answer 2

    What is the solution for this?
    Thnx

  10. It doesn’t work for me either. When I click on Manage Surveys on my dashboard, it immediately takes me to my site where there is a 404 error. I haven’t upgraded to 2.7 yet.

  11. I have alot of the above problems.. out of order questions etc. But when I tried to show the indvidual response it just repeated the data form the first one over and over for the various dates adn times the form was filled out.

    Also FYI… when I deleted a survery I got two error messages on deleting the database. I did not copy them sorry. But if you try the same thing you might get a clue as to what some of the probems might be??

  12. I would love to be able to have multiple-check items in the survey, rather than just single-answer questions.

    I would also like to be able to allow text entry as a question, so people can add comments, or to allow you to ask open-ended questions, such as “Why don’t you buy all your groceries from XYZ shop?”.

    • Thanks for reporting it – I have fixed the bug. The fix will be available in the next release. If you can’t wait, shoot me a mail and I’ll send you the latest version of the code. My email address is binnyva, gmail.

  13. This is a great find. Thanks. I was looking for a surveys plugin so I can run mini polls. I’ve got a couple of other ideas I can move forward with now.

    I just love playing about with plugins, even though half of them I never end up using, it’s all the big learning curve.

    Have a great day! I’ve bookmarked you now.

  14. I am about to give up and delete your plugin as it DOES NOT work for me.
    I created a survey with 4 questions. When I added this line:

    in the post and save it, the line are being replaced by this:
    .
    And yes I was in HTML mode in the post.

    When I view the post it only shows

    By the way: On this page you say to use , on the survey question page it says: .
    I have tried both. What’s right?

  15. The lines disappeard from my last submitted question coz I forgot it takes HTML. Hence same question one more time.
    I am about to give up and delete your plugin as it DOES NOT work for me.
    I created a survey with 4 questions. When I added this line:
    “”
    in the post and save it, the line are being replaced by this:
    “”
    And yes I was in HTML mode in the post.

    When I view the post it shows:
    “”, remark the automatic added space before the exclamation mark.

    By the way: On this page you say to use “”, on the survey question page it says: .

    I have tried both. What’s right?

  16. Hi,

    I think I’ve uncovered several bugs in version 1.00.1 of the Surveys plugin (a clean install on WP Version 2.7.1), two of which are minor and one of which causes data corruption.

    1)
    When looking at the individual responses (individual_responses.php) the link to “All Responses” does not go back to the right survey. The ID?> statement on line 67spits out the wrong ID as it returns the ID of the last respondent and not the ID of the survey. Perhaps using would fix this.

    2)
    When looking at the individual response (show_individual_response.php) the wrong responses get displayed. This may be due to the WHERE A.question_ID={$q->ID} statement on line 20. From what I can tell this ties the question to the answer just fine but completely forgets to tie the answer to the respondent. I would venture that this linking is designed to be achieved with the wp_surveys_result_answer.result_ID field. This would be easily fixed by adding an appropriate AND to the WHERE clause.

    3)
    Now here comes the clincher: The wp_surveys_result_answer.result_ID field does not get populated with the respondent ID field but with the survey ID (ref line 19 on show_survey.php). So there’s no way to tie back the responses to a respondent. And now we have a big problem since we can’t display, edit or delete individual responses from a survey.

    IMHO that last issue is a bit surreal for a plugin whose sole purpose is to manage surveys.

    I hope this helps improve the code and reminds people (including myself) that failure to properly test can break your reputation in a heartbeat.

  17. Whoosie… some things went missing in the post…

    Point 1) should state:
    The “$survey->ID” statement on line 67spits out the wrong ID as it returns the ID of the last respondent and not the ID of the survey. Perhaps “$survey_id” using would fix this.

  18. Hi! Binny,
    Yesterday i installed your plugin on my site. I have posted 3 questions in the survey, On first page i’m seeing all 3 question on same page along with next button on pressing next i’m seeing 2nd question as expected and thereafter the plugin is working fine. Please guide.

    I’m using your plugin version 1.01.0.
    Wordpress version: 2.7.1

    Regards,
    Ritesh

  19. Hi,

    I installed your plugin and on adding the first survey (hitting ‘Save’ on /edit.php?page=surveys/survey_form.php&action=new) I get:

    WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘s plugin’,’1′,NOW())’ at line 1 for query INSERT INTO wp_surveys_survey(name,description,status,added_on) VALUES(‘Survey Test’,’Testing the Surveys plugin’,’1′,NOW())

    This is on survey_action.php. I’m using MySQL 5.1.

  20. Hi Binny! Thanks for taking time to develope and share this plugin!
    I’m having difficulties from the beggining 🙁
    When clicking ‘Survey Settings’ I get this error:

    Warning: require(/var/www/sites/domain.com/blog//wp-content/plugins/surveys/options.php) [function.require]: failed to open stream: No such file or directory in /var/www/sites/domain.com/blog/wp-content/plugins/survey/surveys.php on line 56

    Fatal error: require() [function.require]: Failed opening required ‘/var/www/sites/domain.com/blog//wp-content/plugins/surveys/options.php’ (include_path=’.:/usr/local/lib/php’) in /var/www/sites/domain.com/blog/wp-content/plugins/survey/surveys.php on line 56

    What could this be? Cheers!

  21. Hi, I installed the plugin in WP 2.71 and get this error:

    WordPress database error: [Table 'wpdb.wp_surveys_survey' doesn't exist]
    INSERT INTO wp_surveys_survey(name,description,status,added_on) VALUES('Schoonmakers','Hoe schoon is onze binnentuin?','1',NOW())

    what do I do?

    • Try deactivating and re-activating the plugin. The error is caused because the plugin was unable to create the database table automatically. Could be a permission issue for the database user.

      • Hmm, did that now I get:

        Fatal error: Cannot redeclare surveys_add_menu_links() (previously declared in /var/www/wp-content/plugins/surveys/trunk/surveys.php:17) in /var/www/wp-content/plugins/surveys/surveys.php on line 23

  22. I get the same error on 2.7.1 as well, I’ve deactivated and re-activated the plug in. Its not a permissions issue, the database user has all privileges. I really like this plugin and would like to use it, but need to resolve these errors.

  23. Hi Binny V A,

    I tried to install you survey, but get a 404 error when I create a new survey. I suspect it has something to do with moving my site’s URL location to the root directory (sorry-I am sketchy on the details of what I did or how I did it (it’s been a while)–i just set it so the URL appears to come from my root domain instead of my install folder).

    I’m excited about this plugin. Any ideas?

    Thanks,
    Jeff Hajek

    • Just an update.

      I got this working by tinkering with the code. Basically, I just kept searching the php files for references to “wp-admin” or similar directories, and adding in my own directory. Eventually I hit on the right combo (can’t quite recall which files had the magic touch), and got it working

      Works great now.
      Thanks.

  24. I started experimenting with your Surveys plugin in WP 2.7 and ran into problems when assigning questions. Turns out the problem was your use of short php tags in a couple of places in the question.php file. If you do a search for those short php tags and replace them (don’t remember if there were two or three), it so far seems to work in 2.7.

  25. How can I limit the number of times one PC can vote? via cookie or IP.

    It’s really important, otherwise the system is easily gamed.

  26. I was wondering if you could help me figure out what the following error means?

    WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ” at line 3]
    SELECT Q.ID,Q.question,(SELECT COUNT(*) FROM wp_surveys_answer WHERE question_id=Q.ID) AS answer_count FROM wp_surveys_question AS Q WHERE Q.survey_id=

  27. Hi,
    Is there anyway to share one survey on many diferent posts but having responses with the ID of the post?

    thanks

    cedric

  28. If I want to display the survey someplace other than in a post, maybe the default.php file. Is there a PHP command I can use to call the function? and the survey will appear.

    Thank you!

  29. I attempted the plug-in on my site but was un-luckily did not suceed fully.I will require your help in achieving success.I followed procedure as given but did not succeed?Is the survey ok with word-press version 2.8.
    I uploaded content to /wp-content/plugins/folder activated the plug-in and then went to settings and clicked on surveys setting which resulted in to following error message. pls respond.Thanks.

    Warning: require() [function.require]: Unable to access /home/vhosts/technical-world.freevar.com//wp-content/plugins/surveys/options.php in /home/vhosts/technical-world.freevar.com/wp-content/plugins/surveys.php on line 56

    Warning: require(/home/vhosts/technical-world.freevar.com//wp-content/plugins/surveys/options.php) [function.require]: failed to open stream: No such file or directory in /home/vhosts/technical-world.freevar.com/wp-content/plugins/surveys.php on line 56

    Warning: require() [function.require]: Unable to access /home/vhosts/technical-world.freevar.com//wp-content/plugins/surveys/options.php in /home/vhosts/technical-world.freevar.com/wp-content/plugins/surveys.php on line 56

    Warning: require(/home/vhosts/technical-world.freevar.com//wp-content/plugins/surveys/options.php) [function.require]: failed to open stream: No such file or directory in /home/vhosts/technical-world.freevar.com/wp-content/plugins/surveys.php on line 56

  30. can restrict the survey to users who has login to your web?

    another question: can you add following data to record, for the users, the answers he has selected?

    thanks very much

  31. how to modify this pluign to support other language asia language?

    this version can’t recognize chinese character

    this pluign is coding by utf8?

  32. Hi, I installed it, activated it, got an error, deactivated it, reactivated it (no error) but I can’t see “Manage > Surveys” anywhere? I’m using 2.8 and I’m new to WordPress. Am I missing something? Thanks!

  33. I am unable to add a new survey. I get a message You do not have sufficient permissions to access this page. However, I am the administrator.

  34. Hi Binny, I’m getting the same error as Tom above – “You do not have sufficient permissions to access this page.” This happens once I click on the “Create New Survey” link on the “Manage Survey” page. I trying this on a local installation of WordPress on Windows & Apache.

  35. Hi

    Does anyone know why I cannot see any surveys I create when I return to Manage Surveys? It tells me there are no surveys found and just gives me the option to create a new one.

    Using WP 2.8.3

    Thanks!

  36. I installed and get this error

    [Sat Aug 22 19:23:06 2009] [error] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘=’ at line 3 for query SELECT Q.ID,Q.question,(SELECT COUNT(*) FROM wp_surveys_answer WHERE question_id=Q.ID) AS answer_count\n\t\t\t\t\t\t\t\t\t\tFROM wp_surveys_question AS Q\n\t\t\t\t\t\t\t\t\t\tWHERE Q.survey_id= made by require_once, include

    If you find/fix, please email me and let me know.

    Thank you,
    Chad

  37. Hi binny,
    I’m using 2.8 and I’m new to WordPress.
    I’m getting the same error as Tom above and Nithin – “You do not have sufficient permissions to access this page.” This happens once I click on the “Create New Survey” link on the “Manage Survey” page. I trying this on a local installation of WordPress on Windows & Apache.

  38. Hi,

    I search and i see that in MYSQL logs :

    Erreur de la base de données WordPress Table ‘xxxxxxx.wp_surveys_survey’ doesn’t exist pour la requête SELECT S.ID,S.name,S.added_on,(SELECT COUNT(*) FROM wp_surveys_question WHERE survey_ID=S.ID) AS question_count,
    (SELECT COUNT(*) FROM wp_surveys_result WHERE survey_ID=S.ID) as response_count
    FROM `wp_surveys_survey` AS S faite par require_once, include

    I gives all permissions for my admin user on the database… I don’t really understand ..

  39. Hi,
    I resolve my first problem : the database was not created when a activate the plugin. I try to delete a reactivate plugin with the wordpress plugin administration and the database was not created. I decide to download the plugin then install it! and it works, the surveys database is created!!!!!!

    Now i have this problem when i want to create my first surveys with “create new survey” link :

    Error in database WordPress Table ‘xxxxxxx.wp_surveys_result_answer’ doesn’t exist for request UPDATE wp_surveys_result_answer RA SET question_ID=(SELECT question_ID FROM wp_surveys_answer WHERE ID=RA.answer_ID) made by activate_plugin, do_action, call_user_func_array, surveys_activate

    And i also have a page with “You do not have sufficient permissions to access this page.” However, I am the administrator and have all the permission in the database.

    I really don’t understand the problem ?? It seems to make a request upadte data in wp_surveys_result_answer table whereas i could not open plugin page to edit any survey!!

    Could you help me ?

    thanks,

    Denis

  40. Using WP 2.8 I can create surveys and embed them. When I go back to manage surveys there are no surveys showing.

    Any idea what the issue could be? Seems like at least one other person has the same issue.

    Thanks.

  41. How can I translate the survey plugin ?
    Where I have to put the .mo file ? And what name should I use for that .mo file ???

    Thank you

  42. I see the export to csv question came up a couple of times, any plans to address this in the future?

    FYI: I copied all the results and pasted them into an excel file. Excel was able to assign the data to all the individual cells pretty nicely, but I’m no excel expert. That’s as far as I went. I would imagine someone who knew excel fairly well could use that to generate whatever they needed.

  43. if you cant support why are you creating one plugin in a day! Create one and do it right and give good support. no language support, no answers on forum, no future wp version support.

    “You do not have sufficient permissions to access this page.” bah you too

  44. Hey guys, don’t be hard with him.
    Some of yours comments show me that you dont understand that even if a dev release a plugin, it doesnt mean that he has a full time to work on it.
    More of us have a job too and yes, we prefer to spend time to work for money and earn our food than work for
    free.
    I’ve made a lot of modifications to this plugin and i was going to releasr them but when i read the last comment by example, i dont want to.

    Now, you want a feature that isnt there? Ask gently and wait for it.
    You really need it? In a hurry? Pay for it. Im sure he will be please to work with you, or find a dev that has time (you have my website).

    Remember that we release plugin for a community an for
    free.

  45. Totally agree with Mat there; if you have issues with the plugin you either (a)try and fix it yourself (b) politely ask for assistance – remember it’s free assistance, so don’t behave as if you are entitled to it (c) stop using it and look for alternatives – nobody is forcing anyone to use this.

  46. @Mat, nithin
    Thanks for the support guys. I meant to update the plugins – but I’ve been so busy with my work and some other stuff that I did not find the time. But I will – someday soon.

  47. Plugin is working for me, but it’s not showing the radio buttons/check boxes on the home page. It only shows in the post. I did a little debugging and show_survey.php seems to be fine. Could WP be filtering this out somehow?

  48. I installed and created a survey fine, but after I put in [SURVEYS 1], publish, and view my live blog, the survey is not showing up. Can you please let me know why this is happening?

  49. Hi Binny,
    Great job, works perfect for me 🙂
    A question thought: where can I modify the “Thank you” text after one has completed the survey?
    Thx

  50. Is it possible to provide the user with the results of the survey when they finish the survey?

    Are their any options to save the email name in a data base?

  51. Hi Binny,

    Thanks so much for creating this plugin. It’s awesome and seems designed to do what I need.

    Just one question: On some questions I have an “other” response and then activate the text input field is available for survey takers to specify what they mean by “other”. But it appears that they must click the radio button next to the text input field in order for me to see what they input. Is there anyway to have the text in the text input field automatically collected with the results or have it automatically collect if the “other” radio button is selected?

    Thanks much,
    Michelle

    • One more thing… the answer options are appearing out of order on my survey. For example the choices are 0-18, 18-32, 33-45. But instead it shows up to the user as 18-32, 0-18, 33-45. Any way around this problem? Thanks.

  52. Another bug, plugin not working with MySQL 5.1. You get this error when you try to add a question and no the question is not added to the database. Using WP 2.9 with MySQL 5.1


    WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘=’ at line 3]


    SELECT Q.ID,Q.question,(SELECT COUNT(*) FROM wp_surveys_answer WHERE question_id=Q.ID) AS answer_count FROM wp_surveys_question AS Q WHERE Q.survey_id=

    </strong

  53. Hi Binny, I came across your plugins: eventr and surveys. I will install and use over the weekend. Just wanted to say thanks. Also, I wanted to invite you to be a guest tech writer from time to time on perhaps answering questions and/or suggestions that you may have on your mind.

    Harlem Talk Radio is the site and we launched it May of 2009. Please have a look and let me know what you think.

  54. Hello Binny. I try to “Add New Answer” – javascript:newAnswer() – in New Question but its not work. WordPress: 2.9.1. Plugin: 1.0.1.6. Thanks.

  55. Hello again Binny. I try “Add New Answer” in localhost (EasyPHP) and not work, but I install plugin in my site and its works fine. Great plugin.

  56. Binny,

    1. What types of question can I ask ? (I’m comparing your plugin with surveymonkey’s question types) I would very much prefer to use a plugin than survey monkey’s service so it would be good if you could do what they do ?

    2. What formats can you output – eg .XLS ?

    • 1. You can ask any kind of questions – you can even use HTML in your questions. I hope that is what you are looking for
      2. Plugin outputs CSV – it can be opened in Excel.

  57. Hey Binny,
    Thanks a lot, great plugin and very well written/commented code.

    One question – If on submit, I wanted to make sure the user has answered all questions (entered answers/hecked checkboxes), which file should I edit to add the validation? survey _action.php??

    Thanks a lot.

  58. ^^Hey Binny, I tracked it down to function e(..), which calls the function _e in wpframe. I don’t know where this goes though?

  59. Ah never mind Binny, I found it in show_survey.php.
    If anyone else needs it, add:

    foreach($_POST[‘question_id’] as $question_id) {
    if(!$_POST[‘answer-‘ . $question_id]) { echo “Sorry, you did not answer the following questions: $question_id. All questions are required. Please try again.”; }
    }

    after this line in show_survey.php

    if(isset($_POST[‘action’]) and $_POST[‘action’]) {

    and go back to them form

    • I like this idea a lot but when I do as you say I get an error…

      Parse error: syntax error, unexpected T_STRING, expecting ‘,’ or ‘;’ in /home/orvzauhv/public_html/neweraconsulting.co.uk/wp-content/plugins/surveys/show_survey.php on line 16

      Any help appreciated or even better how could we get it to stop the person moving to the next page if they haven’t answerd all the qustions

      Thanks..

  60. Thank you for a great plug-in !

    There’s one thing that would ‘fit’ your plug-in… when ‘focusing’ on the user-answer (with a radio/checkbox in front)… the checkbox/radio should automatically get ‘checked’ without the user’s input.

    A simple 1-liner can do this (maybe someone else is interested in this so I’m posting it here)
    jQuery("input.user-answer").focus(function() { jQuery(this).prev().attr('checked', true); });

    Just add it (inside script.js) above:
    jQuery("#survey-next-question").click(nextQuestion);

    Have a great day 😉

  61. On my site, only logged in users see the posts that have surveys. I’d like to make it so that the login information is captured (instead of people having to provide it) and that they only get the survey once. Can you point me in the right direction for making these changes?

  62. I would like to export the data as a CSV file, however, it is exporting as a PHP file. The software even asks to export as a CSV file. Please help. Thanks!

  63. “Export to CSV” link doesnt work for me – i go to ‘see all answers’ then ‘export to csv’ and it just gives me text on a web page… can anyone help me get around this and export to excel?

  64. I don’t even have a CSV export link, button, or anything related to exporting the data. I am using the latest version of the plug in. Where would I find the export feature? Without the export feature, this plug in is not very useful to me. With the export feature, the plug is off the charts killer.

  65. Ok, when I click on export I get a php file not a csv file. I’m guessing that you want to have people select all and then paste into notepad?

  66. Dear Binny,

    When I view the survey I’ve created in the Firefox, Opera or another browser it looks fine. When I switch to Internet Explorer not all the questions are displayed and the Submit-button is gone. This prevents people from submitting their answers. How can I fix this?

    Kind regards,
    Michiel

  67. I can’t manage to get more than one survey to show up at a time? If you click “submit” on one, it submits them all. Help?

  68. Great plugin. You can’t imagine how much it has helped my website.Thank you so much.
    I’m not much of a programmer but I was wondering about a few things.
    1) Adding a more secure “captcha” submit button.
    2) I’m always worried about hackers and spam. Can the submit form ever be used to gain access to my website.
    Thanks again,
    Pete

  69. One question. Is there a way to have the survey appear within a page and not a post? I have a client who is wanting a Members’ Survey page (not a post), and inserting the [surveyname] in the page HTML simply returns “[surveyname]”. I wanted to post up the question to see if there is a quick fix before I delve into the code.

  70. I appreciate how easy it was to set up. I do have a feature request, if it’s simply to incorporate. I’d like to be able to send someone to a “thank you page” of my choice, so I can give a little “thank you gift” when they are done. And, of course, I’d like to be able to choose it for each survey and not globally. 🙂 Thanks for the great plugin!

    Velma

  71. This looks like what I’m looking for. My question is, if visitors want to see the survey results, is there a way that they can see the data, (Like 12 people answered questions #3 yes) or is it only viewable to the admin? I’d like to have everyone who takes the survey see the results- like the silly surveys that keep going around facebook… Thanks for your help!

  72. It’s a great plugin, I like it very much.
    Just have one question on it , that can I output all the questions in one ‘page’ without the [next] button?
    It’s OK if it’s not supported currently.

  73. We installed the survey plugin today and it’s installed and activated successfully, and we were able to create a survey using the survey manager, but nothing appears on the web site even with [SURVEYS 1] entered. We’re using the WP Remix theme. Does anyone know why the survey doesn’t work?

  74. Thanks for you plugin!
    Found an issue on responses.php that some of responses doesn’t have a color assigned in “Votes” column.
    can you look into nextColor() function?

  75. is there a way to put images in the question? it looks like it should work, but the image doesn’t appear.

    thanks! great plugin!

    • A number of people have asked about inserting images into the ‘Surveys’ plugin. I have tried out most of the WordPress plugins, and none seem to be able to do this. When images are added to the ‘Surveys’ plugin, the html code seems to be corrupted and the image will not display.

      However, I have found a workaround. If you install another widget (widget logic), it becomes possible to use the sidebar to display the images. Widget logic gives you control over which images appear in the sidebar in each page. I have used this on my site, and I now have the survey questions with the appropriate images next to them.

  76. I have a client who wants to use the quiz as a method for collecting members. Is there a way to have the sign up form (opt in form) be placed after the quiz page but before the answer page? To see their answers users would need to create an account.

    Thx

  77. Dear Binny,, I like your plugin and I started using it after adding some touches on the code. I only changed few lines here and there, as I’m not a PHP developer in the first place.

    My changes added the following enhancements:
    1) Added: “Questions Order” functionality
    2) Added: two additional customizable Response fields (beside “name” and “email”)
    3) Admin: Delete all responses in a survey
    4) Admin: Restore all deleted responses in a survey
    5) Front-end: Hiding “Submit” button in all pages except the last one
    6) Front-end: Some Styling touches

    I will be more than happy to send you the changes I made to include them in a future version, if you like them.

    If anyone is interested to try them, just check my blog (blog.sakka.me).

  78. Dear Binny,
    I made another bunch of modifications (in addition to the ones in my previous comment)
    1) The following settings are customizable per each survey:
    a) Include questions in CSV header
    b) Number of questions per page
    c) Send results to email
    d) Survey Introduction (shown before survey, css class defined)
    e) Survey Closure (shown after survey, css class defined)
    f) six customizable text fields to be filled before taking the survey

    2) Introduction text (customizable) and six customizable text fields are shown before the questions page(s) followed by a button to start the survey

    3) Closure text (customizable) is shown after submitting

    4) New button added “Back” to navigate back in questions pages.

    5) Pressing “Enter” key is disabled (to avoid accidental submitting before completing the survey)

    6) Useful links are added in the admin pages, for faster navigation

    7) The six customizable text fields could be CSV exported with responses

    6) Fixed: now “submit” button is no longer displayed with “next” button,, only displayed in the last question page.

    Waiting for any feedback on my blog (blog.sakka.me)

  79. Hi Ahmed,

    Your plugin is best about survey plugins for WordPress. But, when you answer questions, anytime you can submit survey. Therefore, survey is missing in half. You can make that “Submit Survey” buton appears end of survey.
    Very thanks.

  80. I like the idea of this plugin but I cannot get it to work! I have inserted the comment [surveys 1] and and but none of these present the viewer with an option to fill in a survey?

    What I am I doing wrong?

    HELP!

  81. How can I get rid of the text after the survey is submitted? “Hi, There is a new result for the survey at /whats-new/feedback/… Thanks for taking the survey. You input is very valuable to us.
    If you want, you can attach your name to your survey answers. If you want the result to be anonymous, just ignore this form. ”

    Thanks.

    • I just went in and changed the text in the source and removed the form. Also, part of the email message was getting outputted to the screen because printf was being used instead of sprintf, so I changed that also.

      There should really be a way in the options to change the text that shows, and an option to turn the form submission off too.

      Thanks.

  82. Hi, I love your Survey Plugin. Is it possible to have the Answers next to the question as opposed to the Answers going below the questions?

  83. Does this survey plugin has the option to create a rating question – e.g. rate the following on the scale of 5 etc…..

    thanks in advance.

  84. I used your surveys plugin in my previous wordpress blog site and everything was working perfectly. I created a new blog site today, and installed your surveys plugin. Everything was working fine, except “Export to CSV”. Whenever I clicked “Export” button in Export_choose page, I got HTTP 404 error. Is there anything I need to do prior to install the surveys plugin? The only difference I can tell between two blog sites is the old one wordpress version is older and the site I created today is version 3.0.1.

    Thanks for your help!

    Charles

  85. Hello, this plugin does what i need, but i want to change the language to dutch.
    I found the default.po file and made a translation to dutch with a po-editor. the mo-file i called nl.mo but this is not making show the dutch language. In my config file i have “nl” lang configured what makes my site show in dutch.

  86. Thanks for a great plugin – will you be developing this further to include different types of survey questions (text, paragraph, checkboxes, grids etc)?

  87. How can I show the results in a page? Is there any simialr style code, something like [survey-1-results] that I can place on a page to have the results show? Thanks.

  88. Sorry. Hope you can address THIS comment as I forgot to check th “Notify me of follup comments via e-mail”

    How can I show the results in a page? Is there any simialr style code, something like [survey-1-results] that I can place on a page to have the results show? Thanks.

  89. I get a page not found error when i click on the export button on the choose export page. i know that all pages are there but still get this error. Any update?

    Thanks.

      • I was having the same problem, primarily with Firefox ,and thought the link to wp-blog-header.php was to blame too.

        I found an answer looking at other csv export plugins. I replaced:

        include('../../../wp-blog-header.php');
        auth_redirect();

        with:

        include_once('../../../wp-config.php');
        include_once('../../../wp-includes/functions.php');
        require_wp_db();

        in export.php

        I also altered the headers to:

        header("Content-Type: application/csv");
        header("Content-Disposition:attachment;filename=$survey_name.csv");
        header('Pragma: no-cache');

        It’s quick and dirty but it seems to be working for me .

  90. Hi there,

    I added a textarea but when someone is filling out the survey the text stop after X amount of words… How can I fix that?

    Really Urgent

  91. Hello. How do I make the jquery work to check if the user has selected an answer before going to the next page. It doesn’t seem to work in mine. It just goes to the next question/page, even if I did not select an answer and click “Next”.
    Thanks.

  92. Hi,
    Great plugin but if i refresh the thank you page, i can keep voting.
    I’m suprised there is no ip or cookie tracking to prevent that.
    Anything you can do ? Because i don’t see how you can trust the results if you know people can easily cheat.

  93. Two problems:
    I have just downloaded the plug-in and I noticed that i can’t export the results. When I press export, it shows me an error url.
    Is there a way to show the name and email of the responder on the notification email? Now it just shows the results.
    Thanks

  94. I am new to wordpress. I tried adding a survey on our website.

    I added the post and in the post, I added the below lines in html text
    hi

    The survey is created in Tools->Manage Surveys, the code property for this survey is also showing SURVEYS 2.
    It is not showing survey into my post. I dont know what is missing?
    One additional information:
    When I open this survey post in Mozilla, on status bar is shows done.
    While in IE 8, its shows error as below

    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; MALN; .NET4.0C)
    Timestamp: Fri, 11 Mar 2011 05:32:59 UTC

    Message: Object doesn’t support this property or method
    Line: 15
    Char: 1
    Code: 0
    URI: http://localhost/wordpress/wp-content/plugins/wordpress-simple-survey/jqueryui1.7/development-bundle/ui/ui.progressbar.js?ver=1.7

  95. Hi Binny, I love the look of this plugin. Just a suggestion though, it would be really great if the visitors to the website could see the survery results too as this adds further interactivity to the application. Is it possible for them to see the reults? thanks again. Peter

    • I’m planning to add that feature in one of the future releases – but currently, have very little time to work on it. Buy yeah – its on the todo list.

  96. Hello,

    Nice Plugin!

    I would like to translate some notification text to dutch. But when I change the text in the language file nothting happens.

    If you’d like I can make a standard translation for you… WIN/WIN 🙂

    Any Idea?

  97. Hi,

    This is a great plugin.

    But, I am having a problem with exporting to .csv.

    I am using WordPress 3.1 and everything is running OK with the plugin until I come to export to .csv. I am getting a 404 error: The webpage cannot be found. The url looks like: (http//???????????.com/wpcontent /plugins/surveys/export.php).

    Can you give me any solution.

    Regards

    Jim

    ccI have tI

  98. Can anyone tell me a simple way to get the export to csv to work?
    This is a great plugin but if I can’t export the data I can’t use it.

  99. Hello, nice plugin!

    A bit of feedback though – I’ve been working on customising the “Enter Contact Details” page and through testing, managed to accumulate a whole bunch of redundant responses.

    It’s good that I can delete the responses one by one in Manage Surveys (Show Individual Responses), but a “Delete All” button would have saved me so much time. It would be useful when you want to totally reset a survey too!

    Feel free to ignore 🙂 thanks for the hard work!

  100. Is there a way to translate this plugin? I’ve tried to edit the .po file in the lang folder using “PoEdit”; but no texts are changed.

  101. Hello,
    first of all many thxs for this plugin. Very usefull and working with Czech language. I´ve created first Survey and don´t know how to manage to display answers with checkboxes into a 2 colums. Anay idea?
    And the spaceing between the lines is too big, is it possible to make it smaller?
    I would be happy if someone will help me – I am not IT person at all and the survey is needed for thesis and still doesn? look like nice :-(.
    Many thanks.

  102. Hey!

    Many thanks. This was just what I was looking for.

    I can’t ger the shortcode to work though. Is there any other way to implement the survey into a page or post?

    // Karolina

  103. Plugin looks good, works fine.

    Maybe the option to ask for mail and name at the end could be disabled? (option perhaps)

    Also, a way to display all the surveys (as links?) would be nice.

  104. I recently upgraded and I get the following error:

    Fatal error: func_get_args(): Can’t be used as a function parameter in /hermes/bosweb/web013/b138/nf.clk/public_html/aacrlocksmith.com/wp/wp-content/plugins/surveys/wpframe.php on line 59

    So I re-downloaded the previous version and it is working again. Any suggestions?

  105. New version broke.

    I get – Fatal error: func_get_args(): Can’t be used as a function parameter in /home/xxx/public_html/wp-content/plugins/surveys/wpframe.php on line 52

    php 5.2.17

  106. Hi,

    I’m moving my site to a new wordpress installation and I want to export the current survey data I have. I found a way to export to csv, but I cannot see how to import this data back into the survey plugin installed in the new website. Is this possible? I also tried exporting the database info for the survey tables but could not get that to work either.

    Any advice would be greatly appreciated!
    -Andrew

  107. Is it possible that only registered users can complete the survey?

    therefore eliminating the name, email etc.. part of the survey, and also helping identify the users of each survey?

  108. I am using survey to have a committee of 5 people assess applications for a number of different applicants. I would like to have one survey for each applicant to keep the information separate for each applicant.
    I was wandering if I would be able to duplicate a survey so that I do not need to recreate the questions multiple times.
    thanks Greer

  109. I am having trouble exporting to CSV using the export function under individual responses table – I get a message that the page cannot be found…

  110. Hello,
    I am looking for a poll plugin that will able open ended questions also i.e. : thoughts and reactions on a certain discussion topic. Is that possible with this or does it need to have a multiple choice answer? We are trying to get info without influencing.
    Thank you.
    Isabelle

  111. Nice, simple, elegant plug-in, but big problem: it permits same person to respond to same survey many times, leading to corrupt results. Is there any way to block repeat votes from same IP? Thanks!

  112. I have one question with multiple answers so the NEXT button doesn’t work. My users don’t know that of course so I have to manually direct them to click SUBMIT and ignore NEXT. Any way to edit the code and lose the NEXT button?

    Andy

  113. Just wanted to say thanks. Spent a few hours researching, tried a few others that were no good. This was simple to use and fits in perfectly with the design of my site.

    I had my test survey up in about 5 minutes (I stuffed around with the others for ages) and I only had 1 bug that was fixed in about 2 minutes with the help of your forum. Great plugin and great support forum, thanks very much!

    Matt

  114. Using a database browser i can see that the data is still there, but as there is currently no export function, i cant decypher the export, when I click export the ram usage of plug-in up to 250MB but I can’t see the results. There is a lot of submissions over 500…

    What can I do to use the export function?

    Thanks,

  115. Have you experienced any conflicts with fancybox and your plugin? I’m getting a few new fancybox-related errors, that are only appearing specific to the page the survey is on. Not positive your plugin is causing the conflict, just seems to be the common denominator.
    Otherwise, awesome plugin that has saved me a ton of time and grief!
    Thanks

    • figured it out. you are loading jquery which was screwing up my load of jquery. you should think about adding a checkbox in the settings to enable/disable load of jQuery. really common problem amongst plugins. keep up the great work though, overall still a great plugin.

  116. Hi Binny,

    I would like design a test for my visitors so that they can answer a series of questions (20-40, i think) and each question would have a score, and based on the range of the total score, they get an answer, which is sort of like a personality test. For example:
    0-10 They should give up
    11-20 They can try but will run into difficulty
    20-30 They will succeed

    I looked at your quiz/survey, and not sure if it would support this type of “test”. Thanks!

  117. Hello!
    I found your Survey plugin very useful and nice and very easy to use 🙂 —–
    I think your plugin could be the right solution for me.
    I have just started to design my own surveys but before let people take these surveys I would like to kindly ask you some information.
    1_Is there a maximum number of different surveys I can create in the admin dashboard?
    2_Is there a maximum number of answers of different user I can collect?
    Thank you in advance.

  118. You plugin is just wonderfull.

    I translated the .po file in French.
    Everything works fine except the recieved email wich give funny characters with accents.
    In WordPress, all the accents are there and are good everywhere.
    WordPress character-set is: define(‘WPLANG’, ‘fr_FR’);
    In poedit I used: fr_FR

    I tried a brand new installation of the server: SME-8.0, WordPress-3.4.1, new Surveys and still the same problem.

    I am using Window$ XP.
    I tried with an OpenSuSE station.
    Still the same problem.

    The file can be downloaded here:
    http://www.micronator.org/Public/Survey/surveys-fr_FR.po.zip

    Where did I go wrong?

    Thank you for your feeback,

    Michel-André

  119. Hello i ahve a couple of questions:
    1. how can i make some field “required”?
    2. how can i change the thank you page to remove the name and email field input

    thnak you a lot for your attention

  120. Hi I have installed the survey plugin and its working perfectly,

    Just one question, I need to put a continue button with a custom link which will execute a script on the Thank You page, where can I find this page.

    Thanks

    T

  121. It is possible to add multiple surveys in one page?

    [SURVEYS 1]
    [SURVEYS 2]
    [SURVEYS 3]

    I got an error:
    Warning: sprintf() [function.sprintf]: Too few arguments in C:\xampp\htdocs\hp\wp-content\plugins\surveys\wpframe.php on line 53

  122. Hi, is it possible to check user ip? if not, which files have I to modify in order to receive individual email results containing user ip?
    many thanks

  123. Hi there, Survey is an fantastic plugin, but I got kind of a problem:

    > Delete all Responses does delete the Response but it DOES NOT delete the statistics. How do I delete the statistics?

    I really appreciate your help.

    Sascha

  124. What’s the best way to show users the survey results? A lot of surveys let people see results on the front end after they submit. Reading the description, it looks like results are only visible on the admin back end.

  125. Thanks for the plug in. Works great in WordPress 4.5.3 The only issue I have is that it wont send email. If you have any insight in to that I’d love to hear it. Outside of that, you’ve mad my daughter very happy as its her WordPress site that’s using it!

13 Trackbacks / Pingbacks

  1. Poll: Texas Tech versus Oklahoma | BrianCombs.net
  2. Quizzin WordPress Plugin | Bin-Blog
  3. EduPress: WordPress + Educación
  4. WordPress Plugin Releases for 11/20 » All About Technologies
  5. Speedlinking da Semana [16 a 22 de Nov] - 2.0 WEBMANIA - Portugal, a Web 2.0, o Mundo e a Internet
  6. Surveys WordPress Plugin - Create Surveys in WordPress | Binny V A Projects
  7. Quartz WordPress Plugin | Bin-Blog
  8. Event Registration, Polls - Surveys, Paypal Integration, Migration from Joomla | WordPress Plugins
  9. Do You Listen to Your “Silent” Blog Followers? | Fuel Your Blogging
  10. Survey plugins - which one to choose?
  11. Bloggers: Know Thy Followers
  12. Surveys Extended | Best Plugins - wordpress – widgets – plugin 2012
  13. Plugin Week 2: WordPress Plugin – Weather Man – Bin-Blog

Comments are closed.