SurveyPress

    SurveyPress is a tool that helps you create your surveys for your WordPress Blog. You supply you own forms and it takes care of all the rest, such as collecting the data. Surveys cay easily be downloaded from your site into your favourite spreadsheet package.

    Requirements

    • A basic knowledge of creating forms  in HTML

    Installing SurveyPress

    • download SurveyPress.
    • Copy to your ‘wp-content/plugins‘ directory.
    • Log in with an administration account.
    • Select the ‘Plugins‘ tab.
    • Scroll down to SurveyPress and click ‘activate‘.

    Templates

    To create a new template.

    • Create a directory inside the ‘pages‘ folder inside the plug-ins directory.
    • Name the folder to represent the  template that you will use when inserting the survey into your post or page.

    Inside the template directory you can create a number of files to modify the look of the form.

    • form.html
      • Purpose: this is the most important file of the all. This is the HTML form that will be used for the form. The only requirements for this file is that you omit the <form> tag and submit button as these will supplied by the plug-in.
    • alreadydonemessage.html
      • Purpose: This the message that will be displayed to the user if they have already filled in the form. This is optional, if it is not supplied a default one is used
    • thanksmessage.html
      • Purpose: This is the message that will be displayed when the form is submitted. This is optional, if it is not supplied a default one will be used.
    • closedmessage.html
      • Purpose: This is the message that will be display if this form is closed. This is optional, if it is not supplied a default one will be used.
    • rssfeedmessage.html
      • Purpose: There are problems filling out forms in RSS feeds so the form is disabled in the RSS feed. This is the message that will be displayed when the form is seen from an RSS feed. This is optional, if it is not supplied a default one will be used.

    Anti-SPAM

    The anti-SPAM is done by asking the user to name the nth colour in a random selection of coloured boxes. This does not require your site to have any graphics modules loaded.

    Options

    The Survey Data

    As the surveys are completed, the data is attached as meta data to the post or page that the survey is on. This is done to integrate the survey data with the post or page, which allows you to backup or export your site without having to select any extra tables.

    The Exported Data

    The results are exported in the CSV file format, This can be easily imported into almost any spreadsheet or database. Along with the fields from you survey there a a number of other fields that are added to the file for information purposes. These are :

    • ip
      • Purpose: The ip address other the person who filled out the survey.
    • HTTP_REFERER
      • Purpose: The page that referred the user to the survey.
    • form_page
      • Purpose: The tittle of the post or page the survey is on.
    • form_page_url
      • Purpose: The address of the post or page the survey is on.

    Version History

    • 1.0.0
      • Initial internal release.
    • 1.1.0
      • Corrected problems with radio buttons on forms
      • Added once attribute
      • Added time-out attribute
      • Added antispam
    • 1.2.0
      • Added action for use with templates
    • 1.3.0
      • Updated Libraries
    • 1.4.0
      • Improved form loading. Added configure screen, added direct download.

    Other Plug-ins

    If you liked this plug-in visits our download area where you will find many more.

    Bugs & Suggestions

    If you have questions, have found any bugs, or you would like to see features added to SurveyPress please feel free to use the form at the bottom of the page to Contact us.  If SurveyPress doesn’t fill your needs , feel free to Contact us to discuss a specially commissioned plug-in.

    Show Your Appreciation

    If you liked SurveyPress please:

    You can also make a donation to Help support its development.


    96 responses so far ↓

    • Lothar Katz // May 29, 2008 at 11:08 pm

      Nice work.  I have one issue, though: is there a way to modify the plugin such that it allows the same person to take the survey repeatedly.  I plan to use it to solicit feedback for different pages.

    • DCoda // May 30, 2008 at 9:38 am

      If the same template is used for a different page, it will act as a different survey, each on which can be filled out once, the results will also be separate.
      Also there is a feature that is not documented as it is going to part of a future feature, but if you add the attribute
      once = “no”
      this will allow the same survey to be filled out more than once.
      When it is fully implemented it should still work the same, but will have a time-out feature that will only let the survey be used once in a given period, this is the part that will appear in the next version.

    • Lothar Katz // May 30, 2008 at 4:57 pm

      Thanks - I changed once to ‘no’ and that’ll work for me (I’m calling the survey from several pages, so what you’re describing isn’t going to make a difference for me.

      I ran into a bigger issue, though: if I use radio buttons to solicit feedback, the button status is not reported correctly in the survey data. The corresponding value in the CSV file is either blank (if I don’t assign default values to the individual buttons) or it only reports the last button (eg, if I have three buttons and each is assigned a value, the CSV field remains blank if I click buttons 1 or 2, otherwise it shows the value of 3). This means I can’t use radio buttons at all. Any thoughts?

    • DCoda // May 30, 2008 at 5:10 pm

      Radio button are odd in how they operate and pass values.
      As a stop gap you could use a select box.

    • DCoda // May 30, 2008 at 6:26 pm

      The radio button problem has been fixed in version 1.1.0

    • gmcpress // May 30, 2008 at 7:13 pm

      I wanted to check with you to see if this plugin would work for the following:
      could your plugin be used to serve persistent/permanent surveys on individual posts? I would like to ask users to submit a keyword suggestion for each of several hundred individual posts so that I could track and report the suggestions (and the number of times each keyword was suggested). Then I would like to be able to search or sort posts by suggested keyword, and rank based on the frequency of suggestion. Reports could be shown in a number of ways (list, array, cloud, etc.).
      Thanks

    • Marcus // May 30, 2008 at 7:25 pm

      Nice work. I will try it next weeks.

    • DCoda // May 30, 2008 at 7:29 pm

      The plugin only supplies data collection, it allows you to export the data, it does not do anything with it.

    • Denise // May 30, 2008 at 9:43 pm

      I installed this plug-in and created a form, but I cannot find the results after clicking the Save button on the Manage Surveys page. The notes above say something about a Results folder, but I cannot locate that. Please help.

    • DCoda // May 30, 2008 at 11:29 pm

      To get to the results after you have saved then. You can get to them in a number of ways.
      You can click on the date, in the results column, this might display in the browser, but depending on you browser they should be a way to save this file to disk.
      You can also go directly to the results folder.
      This is located in the folder where the plugin has been uploaded to.
      something like
      {your site path}/wp-content/plugins/wp-survey/results

    • Lothar Katz // May 30, 2008 at 11:38 pm

      Radio buttons now work like a charm.  Thanks a bunch!  This is now a really useful plugin.

    • Jared Stein // Jun 2, 2008 at 8:56 pm

      Love the plug-in but am having a hard time implementing it on a theme template, i.e. can I call a function with parameters from page.php and have the survey embedded?

    • DCoda // Jun 2, 2008 at 9:53 pm

      There is no way to do that at the moment.
      You do not need to make a template to use the survey.
      Just add [survey template="example"] or whatever you like to the page content it it will be inserted automatically.

      Or are you saying that it isn’t working like that for you?

    • Jared Stein // Jun 2, 2008 at 11:19 pm

      Oh, it works for me like that, but I want to force the survey onto all WP “Pages” by modifying the page.php file in my theme, so it’s not in the page content itself, but a part of the theme. THanks for your quick reply, btw!

    • DCoda // Jun 3, 2008 at 9:06 am

      Sorry but that’s not possible at the moment.
      I’ll try to add it within the next couple of days.

    • DCoda // Jun 3, 2008 at 5:36 pm

      Version 1.2.0 , now does what you need. Check out the instruction for more details.

    • Jared Stein // Jun 4, 2008 at 12:48 am

      DCoda, You Rock!

    • Jared Stein // Jun 4, 2008 at 1:54 am

      One other note: since the ZIP package didn’t contain a “results” folder, in order to Save my CSV file I had to first create the empty “wp-content/plugins/wp-survey/results/” folder before clicking Save.

      FYI, we are using your plugin for each of our conference sessions evaluations this year! Thanks again.

    • DCoda // Jun 4, 2008 at 8:48 am

      Its, part of the project but must get removed because its empty. I’ll add a dummy file.
      Thanks for the info.

    • Olaf Ghanizadeh // Jun 18, 2008 at 6:24 am

      I like the plugin but I find it somehow hard to style. And WHY did you include inline styles in the documents? It only makes the site harder to validate and the forms harder to style. Where can i Change the dotted-border thingy?

    • DCoda // Jun 18, 2008 at 9:32 am

      Some things where made in-line to protect them from being unpredictable altered by the theme, or where they need to be dynamic, there is very little in-line styling in the latest version however.
      There should be no dotted borders in the form, I’ve just double checked this against the projects and there is no reference to a dotted anything in there.
      Could this be the affects of you theme?
      Where is the border showing up?
      What version of the plug-in are you using?

    • Olaf Ghanizadeh // Jun 18, 2008 at 12:03 pm

      I found out the problem about the border, Worpdress added some funky border. But I get some validation errors after installing the plugin, you know what this is?

    • DCoda // Jun 18, 2008 at 12:08 pm

      What do you mean by validation errors?
      Do you meant CSS or HTML?
      Can you let me know what they are?

    • Olaf Ghanizadeh // Jun 18, 2008 at 2:43 pm

      http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Folafg.se%2Fdev%2Fwp%2F

      You can see it there

    • DCoda // Jun 18, 2008 at 2:52 pm

      The some validation errors that seem to be caused are by the script that prevents premature submission of the survey. This doesn’t seem to affect its operation though. I’ll see if it can be made more acceptable to the validation program.
      The other validation problems, do not seem to have anything to do with the plug-in.

    • Olaf Ghanizadeh // Jun 18, 2008 at 3:20 pm

      Oh, ok. Is there anyway to reset the CSV-file? I cant find the file on my FTP, but when I enter the link that is listed in WP it is no problem

    • DCoda // Jun 18, 2008 at 4:21 pm

      How do you mean reset the CSV file?
      You can re-export the data to CSV file if that is what you mean.
      If you mean reset the survey data back to empty, that cannot be done easily at present, but is planed for inclusion. To do it now, attach the survey to a new post
      The file should be in the home directory of the plug-in under results. If it wasn’t able to create it here it would not create it at all.
      Not sure on what OS you are using but in your browser you can ‘right click’ and select ’save as’ to export the csv file.

    • JB // Jul 2, 2008 at 3:59 pm

      Hello DCoda and thank you for your free and flexible survey. it the most convenient I’ve found on the web.
      I’d like to have further info about your last comment. I tried to browse the mysql database of wordpress and did find the survey entry…but not the way you check whether a user has already filled it or not!! :)

      Could you give me some clue about it in order I can reset the stuff?

      Thanks by advance.

    • DCoda // Jul 2, 2008 at 4:18 pm

      @JM: The survey data is attached to the posts’ in the custom fields.
      You can get to this when you edit the  survey post.
      To reset the survey you can delete all custom fields. An easier method would be to copy the survey to a new post, this would also have the advantage of keeping the original survey.

      The already filled check is done by way of a cookie on the users machine.

    • JB // Jul 2, 2008 at 4:33 pm

      Thanks for this quick answer!! It works perfectly :)

    • WP Plugin Archive » WP_Survey // Jul 9, 2008 at 8:41 am

      [...] Plugin WP_Survey von dcoda.co.uk sammelt über Formulare Usermeinungen, z.B. für Umfragen. Die Daten [...]

    • JB // Jul 29, 2008 at 10:37 am

      Thanks again for  your plugin!
      Now I use wp_survey for a big survey (60 questions, 5 possible answers each) and I can automatically process the answers with the csv file. Much relief :)

      One comment though, on IE 6, I get a strange behaviour.
      Some closing tags are added in the rendered html page, I get a </p> after avery <input> entry, as if the code was trying to fix something which isn’t needed.
      In Mozilla Firefox I don’t get such unecessary added code (which I prefer).

      Is it part of the parser or am I missing something in my procedure…?

    • JB // Jul 29, 2008 at 10:51 am

      Answer to myself :) : appearently, adding a </input> at the end of each <input> entry in the form.html template file fixes the issue though it is normally not needed by standard html.

    • DCoda // Jul 30, 2008 at 7:54 pm

      @JB: I’m Not much of a IE user myself so I’ve not really run it to problems with it.
      you say that inserting a </input> solves the problems.
      Do you put a / at the end of your input tabs like so?
      <input name=”fred” />
      This is a new standard of html for single tags, though most browsers seem to let people get away with
      <input name=”fred” >
      which was the old way.

    • Pat // Aug 4, 2008 at 3:57 am

      I’ve installed the plugin and activated it, but when I go to Settings>Surveys I get the error below, any ideas?

      Fatal error: Cannot loadClass(’contact_survey_dashboard’) as file contact/survey/dashboard
      Searching Path:
      /hsphere/local/home/kennedy/staging.gurtle.com/ppov/wp-content/plugins/wp-survey
      /hsphere/local/home/kennedy/staging.gurtle.com/ppov/wp-content/plugins/wp-survey/library
      and Sub folders:
      classes
      Searched for:
      /hsphere/local/home/kennedy/staging.gurtle.com/ppov/wp-content/plugins/wp-survey/classes/contact/survey/dashboard/base.php
      /hsphere/local/home/kennedy/staging.gurtle.com/ppov/wp-content/plugins/wp-survey/library/classes/contact/survey/dashboard/base.php
      in /hsphere/local/home/kennedy/staging.gurtle.com/ppov/wp-content/plugins/wp-survey/library/classes/base.php on line 152

    • DCoda // Aug 4, 2008 at 9:48 am

      @pat: There seems to be a problem with the dashboard, I’ll look into and post a solution as soon as possible.

    • wade // Aug 6, 2008 at 12:38 am

      yeah, I seem to be having this same problem.

    • DCoda // Aug 6, 2008 at 5:00 pm

      This has been address in the next release. Work Permitting it should be release with the next week.

    • wade // Aug 6, 2008 at 10:44 pm

      wow, that’s awesome and extremely helpful. Thanks !

    • baron // Aug 7, 2008 at 7:06 pm

      hi. Thanks for plugin

      perfect.

      Regards

    • wade // Aug 8, 2008 at 8:45 pm

      is there a special way I supposed to be doing check boxes ? It seems to default to the wrong value every time, and wont submit multiple values. Any clarification would be greatly appreciated.

      example…

      Question 2
      How do you like spam cooked
      <label>  <input type=”checkbox” name=”question2″ value=”raw” />  raw</label>
      <label>  <input type=”checkbox” name=”question2″  value=”fried” />  fried</label>
      <label>  <input type=”checkbox” name=”question2″ value=”boiled” />  boiled</label>

    • DCoda // Aug 8, 2008 at 9:08 pm

      checkboxes are tricky in that they don’t sent a value if nothing is check at all. THis has been taken into account.
      Your problem however is a new one, multiples.
      if you could post the template you are using to
      fri2106@dcoda.co.uk i’ll see what can be done to work around any quirks.

    • DCoda // Aug 10, 2008 at 6:58 pm

      @Wade- The problem lies in the way PHP deals with forms, in that it assigns the passed data to an array. This has the consequence of not allowing you to have the fields with the same name.
      To get around the problem it is recommended that you add a number to each of the checkboxs where you are using multiple values.
      eg.
      <label> <input type=”checkbox” name=”question2_1? value=”raw” /> raw</label>
      <label> <input type=”checkbox” name=”question2_2? value=”fried” /> fried</label>
      <label> <input type=”checkbox” name=”question2_3? value=”boiled” /> boiled</label>

      I hope this isn’t an inconvenience.

    • wade // Aug 12, 2008 at 4:38 am

      thanks so much this solves the problem I was having.

    • Jean Bergeron // Aug 13, 2008 at 8:01 pm

      First, Congratulations for such a work.

      Question : If I submit the page without filling the form, it answer thank you (The right answer from the right page ) but I fill it with name, address and so, it answered : Sorry, but you are looking for something that isn’t here.   What am I missing ?

      Is there anyway to show the results of the others votes in the bottom on the page after the submit Button ? 
      Thanks again for all you have done !

    • DCoda // Aug 13, 2008 at 8:46 pm

      @Jean Bergeron-
      On the subject of the submission, this is very strange. It should be submitting to the same page regardless or what you fill in. Is this with example form? Do this happen for any value you enter? If you could send a link to the problem page I could take a look to see if I could spot anything odd.

      On the subject of results, at present thisis just a data collection tools  it doesn’t show results in any form, they need to be exported and used elsewhere.

    • Jean Bergeron // Aug 13, 2008 at 8:52 pm

      Wow,
      You answered so fast.   For the first issue, Here is the link : http://www.vivianisvirtual.ca/survey-sondage/

      For the second one, I created a directory results, but nothing shows inside. From the back-end, it downloads it on my machine. Where are the data stocked ?

      TIA

    • DCoda // Aug 13, 2008 at 9:13 pm

      I was just on-line, and I hate to see things not work.
      Canadian eh! My answer would be Banff :)

      As to the problem, the errors is coming from WordPress, all I can think is some of the form variable are interfering with WordPress Form variables, this is just a hypothesis, if you could try to change the field names an see what happens. I’ll see if I can replicate the problem on my test machine.

      As to the results, they are no longer downloaded into the results directory. they can be directly downloaded from the  surveypress options screen. As to where there are actually store, they are attached to the survey post as meta data.

    • DCoda // Aug 13, 2008 at 9:40 pm

      Having done a local test, it would see that the field name “name” classes with a posted parameter that WordPress is using.
      For now use a different field name, we will look into a permanent solution.

    • Jean Bergeron // Aug 13, 2008 at 10:48 pm

      Well, Banff is a very nice destination.  If you try Montreal let me know :).

      Thanks, I change the word name to nom (It usufull to speak French) and everything works fine, now.

      As Vivian wants the results on the bottom of the page, I will continue my quest to find a solution for her.  She’s so nice and I’m unable to say her no.

    • DCoda // Aug 13, 2008 at 10:55 pm

      If you have no luck let us know. We do do custom plugins.

    • Josh // Aug 14, 2008 at 10:09 pm

      What would be the best way to require certain form fields to be submitted?  I found some javascript that I could use, but it requires me to add an onsubmit event to the FORM tag.  How would I go about that?

    • DCoda // Aug 15, 2008 at 10:24 am

      @Josh-
      This is something that is planned, when we figure out a nice way that will work for most users.
      Until then the easiest way for you to do it is with the script file you have. To add this copy the file ‘classes/surveypress/templates/default/mainform.html.php’ into you template directory. This contains the FORM tag, so you can add your onsubmit here.
      One thing to note, this file is one of the templates files that shouldn’t really be changed or overridden, well without knowing what your doing. Changes are planed for this file. so just keep an eye on this when you upgrade the plugin. It should be just a matter of copying accross the new mainform.html.php if any changes are made in the new vesrion.

    • Josh // Aug 15, 2008 at 4:46 pm

      Thanks!  I’ll do that and report my results!

    • Josh // Aug 15, 2008 at 5:11 pm

      That worked!  Thanks a ton!

      FYI, the script I used is here:

      http://www.dynamicdrive.com/dynamicindex16/requiredcheck.htm

    • Neil // Sep 2, 2008 at 10:09 am

      Hi, I can’t seem to get rid of the bit space that is between the page title and the actual form, I have put everything to zero and still gives me a large gap.

      Cheers

    • DCoda // Sep 2, 2008 at 10:40 am

      @Neil:
      This may be due to css on the containers the survey is held in.
      If you post a link to the page, I’ll see if I can advise how to fix this.

    • Neil // Sep 2, 2008 at 10:56 am

      Hi, I can’t give you the link because i’m running it on an intranet.

    • DCoda // Sep 2, 2008 at 11:04 am

      @Heil:
      Ok,
      if you take a look at the source html, and adjust the css to reduce the padding and margins for the elemets of the survey.

    • Neil // Sep 2, 2008 at 11:06 am

      Hi,

      Which one is the source? The one in \pages\example?

      This is the one I put zero margin’s in for everything.

      Thanks

    • DCoda // Sep 2, 2008 at 11:12 am

      @Neil- I was meaning the source that you see in the bowser. Depending the theme, things like this can happen, makesure that all the elements in the form fit into the width the theme sets, also remember the padding, this can cause things to overflow.

    • Neil // Sep 2, 2008 at 11:17 am

      Hi,

      Ok will have a go, thanks!

    • Shareta // Sep 4, 2008 at 7:46 pm

      Hi! When I go to download the results from the dashboard, I get a blank php file (surveypress.php).

      I also searched the db and results directory on my server and I don’t see any data.

      Survey link: http://www.fatstylist.com/sabby-anand/everybody-counts/

      Thanks

    • DCoda // Sep 4, 2008 at 9:01 pm

      @Shareta: Sorry to here of your problems. Just double checked on the plguin on the test system and it does work as expected.
      So there must be some incompatibility with your setup.
      For your info, the data is stored in the postmeta table with the key “survey_data”, one entry per result. This is probable not much use unless you are a programmer.
      The results directory was superseded with this new method in the last release to get round problems with file access.
      What should happend when you click the download, is the surveypress.php you offer up the standard download box to download the csv file of your data.
      At present there are two possible causes.
      it could be caused by a popup blocker. If you could disable this if you have one and try it.
      OR it could be something different with you installation. in which case could you inform us of:
      your version of PHP
      your version of wordpress
      your OS

      If you require the data quickly, installing an older version that exports the data to the results directory. This will solve the problem.
      A permanent solution to the problem is now being looked into.

    • Shareta // Sep 4, 2008 at 11:04 pm

      DCoda-

      My pop up blocker is off and I tried downloading again and still got a blank php file.

      I’m running PHP 5, WP version 2.6.1, Mac OS 10.4.11.

      Thanks!

    • Shareta // Sep 4, 2008 at 11:31 pm

      DCoda-

      I just downloaded the table for survey_data and I see there is data being written to the db. I can see all my test answers.

    • Shareta // Sep 5, 2008 at 12:01 am

      Problem averted, DCoda. I downloaded an older version (1.1.0) and this works.

      I wonder why the new version doesn’t work for me? That’s ok for now. Thanks for all your help!

    • DCoda // Sep 5, 2008 at 12:00 pm

      Shareta:
      When you say you are running mac OS is this on the server or you local machine. It is the server OS thatis of interest.

      For the new version to work, it has to know where it is being run from. Different OS’s and versions of php sometime deal with this infoin different ways.

    • Joe // Sep 16, 2008 at 8:17 pm

      Hi- this plugin looks great, but I’m having trouble geting the results. I’m getting ‘An unidentified error has occurred.’ when I try to add the survey_data custom field and if I don’t add it I can click the ‘download’ button, but it just redirects to a black page. Any help would be appreciated!
      Thanks

    • DCoda // Sep 17, 2008 at 9:11 am

      @Joe:
      It would appear the direct download that was introduced in the last version, has some problems n some system.
      if you revert back to version 1.3.0 which you can find here
      http://wordpress.org/extend/plugins/wp-survey/download/
      you will be able to download your results.
      you will need to create a results directory in the plugin folder that is writeable.

    • primatepress // Sep 24, 2008 at 4:06 pm

      I have installed SurveyPress and gotten the survey to work but there is no anti-spam. Since it says only non-admin users will see this, I’ve checked it from several remote unknown computers. But there is no anti-spam of any kind, no choosing of the “nth color.” What’s wrong?

    • primatepress // Sep 24, 2008 at 7:42 pm

      Hi DCoda

      I am making a webpage with a SurveyPress survey on it and someone will be downloading the CSV file onto a PC. Is there any way they can get a virus from this? I use a Mac, so I don’t worry about it on my end. Will I have to worry about spam going into the survey? Thanks — I wrote a post earlier about the anti-spam, which I don’t see.

    • DCoda // Sep 26, 2008 at 10:28 am

      @primatepress:
      there does appear to be a problem with the defaults, preventing the antispam from showing. This will be addressed in the next version.

    • DCoda // Sep 26, 2008 at 10:30 am

      @primatepress:
      Since a cvs is basically a text file, I don’t see any problem with viruses.
      Most surveys don’t use the antispam, but a fix for the problem is being looked into.

    • Jared Smith // Sep 28, 2008 at 12:29 pm

      I am having difficulties exporting data using the plugin. Everytime I download the csv file it contains only “0″”" which displays as a single 0 in Excel. Looking at the database, I can see that the data is being written properly, so I assume it just isn’t being exported right. I am running 1.4.

      Thanks in advance.

    • DCoda // Sep 28, 2008 at 12:44 pm

      @Jared Smith:
      It does appear that the direct download method introduced in version 1.4 has problems on some systems. If you need to download your results in a hurry the easiest way is to install version 1.2. This will out put the results to a results directory and provide you with a link to retrieve them.
      The direct download method has been removed from the next release until the problem can correctly be diagnosed. This should hopefully be released soon.

    • Jared Smith // Sep 28, 2008 at 2:55 pm

      Thanks for your help. I will wait for the update. Also, is it possible to configure the plugin to email the survey responses or email a notification that the survey has been completed?

    • DCoda // Sep 28, 2008 at 4:02 pm

      @Jared Smith:
      Yes it it is possible. But is at present an undocumented feature that wasn’t included until it could be full integrated into the documentation.
      if you add the attribute
      emailme = “yes”
      this will sent an email to the post author containing the response to the survey.
      I hope this is helps.

    • primatepress // Sep 30, 2008 at 7:17 pm

      A wonderful plugin! Thanks for your responses.

    • primatepress // Oct 2, 2008 at 2:57 am

      Hi DCoda,

      Some feedback re. Neil above, on Sept. 2. I get this same effect - no matter what I do to the CSS or which theme I use, there is an equal chunk of space above and below the form. It doesn’t matter what content comprises the form, either, because on this page I entered only two words, “test words”, and no fields at all:
      http://www.waschmidtgraphics.com/holttest/?p=38
      I’ve tried deleting all margin and padding values in the CSS. Just thought it might help you to see this problem in action. Any thoughts?

    • PrimatePress // Oct 2, 2008 at 4:39 am

      Answer to my own question: these gaps are caused at the bottom by the invisible submit fields. In the SurveyPress CSS file I changed their font size and line height to 1px and this greatly reduces the space.

      At the top the gap is caused by all the fieldsets that aren’t being used in my form, username, email, etc. When I deleted all the fieldsets from the mainform.html.php file except the copy fieldset, the gap at the top got smaller, but is still there. If you visit the link above it will no longer display the large equal gaps I reported earlier.

    • Mike // Oct 12, 2008 at 10:26 pm

      Hey, Im putting together a survey for a game me myself and a few friends are running, your plugin is great, I got one problem tho, it adds after each line so on my one survey I get 219 validation errors and viewing it with for example chrome the makes each radio options appear below eachother instead of lined on the same line (the options are 1-5)

      here is my dev site for my wordpress:

      http://www.beernweed.net/wordtest/?page_id=74

    • DCoda // Oct 13, 2008 at 9:17 am

      @Mike- I’m not sure what the problems is. The site looks fine for us in firefox and chrome. There are only a few html validations errors on the page when checked, only a few warnings are caused by the html generated by the plugin.
      These warning are minor, but will be looked into in the next version.

    • Mike // Oct 13, 2008 at 10:18 am

      Problem solved I removed add_filter(’the_content’, ‘wpautop’); from /wp-includes/default-filters.php

      noticed aswell that it didnt show the br I posted in previous post.

    • Mike // Oct 13, 2008 at 10:19 am

      ah I didnt refresh the page before I wrote that last one, yeah I solved it a few hours ago removing the part I mentioned, one of the features I really dont like with wordpress with it adding p and br everywhere:P

      Cheers, keep up the great work

    • John Knox White // Oct 28, 2008 at 1:32 am

      I used the plug in, which worked great, but now am unable to pull the collected info down. I attempted to install V. 1.2.0, but was still unsuccessful.

      could you point me to a reference for a non-direct download of results?

      Thanks

    • Patrick // Oct 30, 2008 at 2:39 pm

      Could some post a working example. Im using Version 1.4.0, and get in the downloadable file:
      Warning: unserialize() expects parameter 1 to be string, array given in /var/www/coolit/wp-content/plugins/wp-survey/library/classes/base.php(148) : eval()’d code on line 60

      Warning: unserialize() expects parameter 1 to be string, array given in /var/www/coolit/wp-content/plugins/wp-survey/library/classes/base.php(148) : eval()’d code on line 60

      Warning: unserialize() expects parameter 1 to be string, array given in /var/www/coolit/wp-content/plugins/wp-survey/library/classes/base.php(148) : eval()’d code on line 60

      Warning: unserialize() expects parameter 1 to be string, array given in /var/www/coolit/wp-content/plugins/wp-survey/library/classes/base.php(148) : eval()’d code on line 60
      “0″
      “”
      “”
      “”
      “”

    • DCoda // Oct 30, 2008 at 2:52 pm

      @patrick:
      Not entirely sure what could be causing you problems.
      Two thinks come to mind.
      Have you modified the fields the survey after the survey has gone live, This will cause problems.
      Also there are problems with the download method in version 1.4.0 on some system, it is recommended that you revert to version 1.1.

    • DCoda // Oct 30, 2008 at 2:54 pm

      @John Knox White : I thik f you try version 1.1.0 this will download the results. This was the last version version not to try the direct download which seems to be causing problems

    • J.C. // Nov 3, 2008 at 12:42 am

      Hello DCoda,
      I have the same error like Patrick
      “Warning: unserialize() expects parameter 1 to be string, array given in /var/www/coolit/wp-content/plugins/wp-survey/library/classes/base.php(148) : eval()’d code on line 60″
      in CSV file.
      I tried version 1.1, but I had error line 25.
      My survey is here http://www.eu-russiacentre.org/survey
      It is only radio buttons.

    • ownerpredator // Nov 5, 2008 at 12:29 am

      Hi!
      Is it possible that you provide me a sample complete quiz so i can replace it with the info that i want?

      Thank you!

    • DCoda // Nov 5, 2008 at 10:04 am

      @JC,
      from the error it sounds like there either is no survey data, or that questions were added to the survey after it had already been filled in.

    • DCoda // Nov 5, 2008 at 10:04 am

      @ownerpredator,
      There is an example template.

    • J.C. // Nov 5, 2008 at 6:58 pm

      I reinstalled plugin and made new survey. And the same in file CSV - Warning…line 60

      Can I use in form.html some html tags except [p][/p]? Tables, span, div?

      Do you have example of survey with radio and chechkboxes, may be I did some errors in my code?

      Can you look exactly in my form, please?
      http://eu-russiacentre.org/wp-content/plugins/wp-survey.1.4.0/pages/second/form.html

    • J.C. // Nov 5, 2008 at 6:59 pm

      Another question - how can I reset data of survey?

    • DCoda // Nov 5, 2008 at 7:19 pm

      @JC.
      you can use any html you like in the form.html, that was the main objective of the plugin, all you need to is supply the “name” variable for each form field.
      Sorry I don’t have any examples with radios buttons.

      The survey data is attached to the post,the simplest way to reset this is to copy the post content to a new post and delete the old post.

      Work permitting, there should be a new version out soon, that should address a few problems.

    Leave a Comment