kswartz

Show:

What's happening?

  • Comment: Need ability for user to delete incomplete survey

    Hi Franky, Okay, looking much better. I saved a survey on page 3, then quit my browser, restarted, logged in, and typed in the URL for the survey with "sec=1" added to the URL. This worked fine. None of the answers were pre-filled in, which is in line with the feature request here. I was able to continue through past the point where I saved it without any issue (I had a problem with that...

    2009-07-27 17:01:53 UTC in phpESP - php Easy Survey Package

  • Comment: Need ability for user to delete incomplete survey

    Hmm. Picked up the new handler-prefix.php, and it hasn't changed the behavior for me; it's stlil not picking up sec from the request param. I remember thinking before this /might/ have to do with some php-level configuration, but I think that was where I started to run out of time. (I should have taken better notes on this particular issue.) Also, you're missing a closing paren on line 123.

    2009-07-24 23:28:17 UTC in phpESP - php Easy Survey Package

  • Comment: Need ability for user to delete incomplete survey

    Cool! Thanks, Franky. If you want, I can test it on top of my install (which is still at 2.1.2, because I haven't had time to copy over all my customizations yet). Let me know which files have changed, and I can pull them down and give it a try.

    2009-07-24 22:37:04 UTC in phpESP - php Easy Survey Package

  • Comment: Need ability for user to delete incomplete survey

    Hi, Well, that solved the problem with the userid variable getting munged, but it still doesn't go to page 1. I think the issue here is that the REQUEST variable is not overriding the SESSION variable, but, unfortunately, I've been off this project for the past couple of months, so I haven't had much time to look into it deeper.

    2009-07-24 18:49:59 UTC in phpESP - php Easy Survey Package

  • Survey in dashboard only allows one saved response at a time

    When using the dashboard, if a survey allows multiple responses, the user can only have one ongoing (incomplete) copy of that survey at any given time. In other words, if a user wants to start a survey, save it, then start ANOTHER one, they cannot -- they have to finish the original survey first. (And they can't reset it, either, but that's a separate bug. :) ) Fixing this will probably...

    2009-05-05 04:04:58 UTC in phpESP - php Easy Survey Package

  • Comment: Need ability for user to delete incomplete survey

    Okay, figured out why putting "&sec=1" in the query string doesn't work. It's because of this section in handler-prefix.php: if(empty($_REQUEST['userid'])) { // find remote user id (takes the first non-empty of the following) // 1. a GET variable named 'userid' // 2. the REMOTE_USER set by HTTP-Authentication // 3. the query string // 4...

    2009-04-30 04:43:29 UTC in phpESP - php Easy Survey Package

  • Comment: Dashboard may report wrong status after first survey

    Actually, there's a much easier fix than what I proposed (don't know why I didn't think of this first). It only requires changing survey_get_from_sql function. Remove ALL references to $needsConversion, and change one line: < if ($needsConversion) { --- > if (! array_key_exists(0,$surveys[$id])) {.

    2009-04-30 03:59:49 UTC in phpESP - php Easy Survey Package

  • Dashboard may report wrong status after first survey

    If I have one survey completed, and another unfinished, the status should read "Some Finished, some Incomplete". In my case, it always reads "Finished" for anything other than the first survey in the dashboard. I tracked it down to this code fragment in the survey_get_from_sql function in espsurvey.inc: if (isset($surveys[$id])) { if ($needsConversion) {.

    2009-04-29 23:20:00 UTC in phpESP - php Easy Survey Package

  • Comment: Customer pick list

    Actually it sounds to me like this is a request to query survey results by user, rather than by an arbitrary counter. If so, I was planning on making that request myself, and I have a code fix to provide this behavior. But this pretty much only works with surveys marked as private.

    2009-03-10 21:33:39 UTC in phpESP - php Easy Survey Package

  • Comment: Need ability for user to delete incomplete survey

    This is the URL I was using to try and jump to page 1: http://localhost/techeval/public/survey.php?sec=1&name=ebstecheval However, it just reloads the page I saved on. When I do a view source, I see this:

    2009-03-10 21:30:30 UTC in phpESP - php Easy Survey Package

About Me

  • 2005-02-11 (5 years ago)
  • 1216800
  • kswartz (My Site)
  • kswartz

Send me a message