Re: Users' unintentional use of "Enter" causing data loss
"Jennifer Kurkoski" <[email protected]> Tue, 21 Mar 2006 15:49:19 -0800
| Newsgroups | gmane.comp.apache.mod-survey.general |
|---|---|
| Message-ID | <[email protected]> |
Hi again folks, Okay, this helps. Thanks. I could split the survey into two pages and then implement this change. I'm not particularly concerned about DoS attacks as my survey in running w/in a corporate firewall and only to people who reside w/in that firewall. BugAnt, if you've got another sol'n that would be most excellent. My target respondents really prefer to have their surveys on one page. Many thanks! - Jennifer On 3/21/06, Joel Palmius <[email protected]> wrote: > > For the user-going-back problem, you can set CHECKKEY="no" in all pages > but the last. This way you allow the user to go back and data will not be > lost. The default behavior is to not allow respondents to go back and > modify their answers. > > You are pointing at a bug though. The user should be notified that his key > is illegal when submitting. Did this not happen? > > Note that the key thing only prevents DoS kind of attacks. It does not > ensure that the user does not take the survey again once having finishing > it. > > All this is only valid for survey with more than one page. One-page > surveys cannot be modified by going back. Further, there is no way to > notify the respondent he is editing an invalid copy before submitting, > since there is no page access to the server when going back (he simply > picks the previous page from his local cache). > > BugAnt: You did some stuff with key bindings for answering a survey. Any > way to prevent enter from submitting form? > > // Joel > > > On Mon, 20 Mar 2006, Jennifer Kurkoski wrote: > > > Hi all, > > > > I'm having two problems I'm hoping someone here can solve. This is the > > second (the first problem was in an ealier message). > > > > I'm running mod_survey version 3.2.2. > > > > If you accidentally hit "Enter" at any point when filling out the > survey, it > > submits your data. You then likely hit the Back button and see that your > > data are still there, so you go ahead and finish completing the survey. > And > > then you hit Submit. But mod_survey thinks you're trying to vote twice > and > > so ignores your answers. For my purposes, this is *highly* undesirable. > I > > don't expect people to fill it out twice and having the user be unaware > that > > her data are being lost is a much worse situation. I have one record > that > > contains only a username and nothing else, even though the timestamp > > indicates that the respondent spent around the same amt of time > completing > > the survey as most others. > > > > No luck in the archives on this one either. Anyone have any idea what's > > going on? > > > > Many thanks (again)!! > > > > - Jennifer > > > > > > -- > > For best results, follow directions on bottle ... > > and use my permanent address: > > [email protected] > > > Skickat av Joel Palmius <[email protected]> > till survey-discussion > -- For best results, follow directions on bottle ... and use my permanent address: [email protected]