Re: CHECKKEY="no" in last survey page
bugant <[email protected]> Thu, 07 Apr 2005 13:18:07 +0200
| Newsgroups | gmane.comp.apache.mod-survey.general |
|---|---|
| Message-ID | <[email protected]> |
Palmius Joel wrote: > The reason is that the key is the unique identifier and all records, no matter if in AutoData or DBI needs to have this. > The format and existence of this key thus needs to be checked at the time when data is written to disk. sure...you're right. > Possibly, we could do a parse check so you can't have CHECKKEY="no" in the same page as a SEQUENCE. I think we could change the error message adding "If you're in the last page (of a multi-page survey) you can't set CHECKKEY to "no"" > > CHECKKEY="no" cannot have any function in the last page anyway, because once you have submitted > that page and not got an error, the data have been written to disk. > You cannot go back to change it after that. you're right.. the problem is that if you go back from this page before submitting it to review some previous answer(s) when you come back to the last page you'll recive the above error becasue of CHECKKEY="yes" (that's also the default behaviour). I think the only useful use of CHECKKEY="no" in the last page would be something like that. stay tuned, bugant. Skickat av bugant <[email protected]> till survey-discussion