|
From: Bishop B. <ph...@id...> - 2008-01-15 22:22:48
|
All,
I have a client need to constrain a survey's availability to a given =20
window of time. In other words, survey 1 is available between dates X =20
and Y only: not before X and not after Y.
I propose to add an optional opening_date and closing_date column to =20
survey, as well as input elements on the General tab of the survey =20
create/edit page. The survey logic would alter, as follows:
A survey is available if and only if:
a) the existing access control logic is satisfied, and
b) one of the following conditions:
If opening and closing are set && opening <=3D now <=3D closing
If opening set and closing is not set && opening <=3D now
If opening not set and closing is set && now <=3D closing
If opening not set and closing not set
I would also add a data element to the tables on the dashboard, so a =20
respondent can see the temporal availability. I'd also need to update =20
the error messages appropriately. And the help documentation.
With this addition, no existing data will be affected. Those who wish =20
to constrain to a given date range may.
Thoughts?
bishop
--=20
Bishop Bettini
ideacode, Inc.
(main) +1 919 341 5170 / (fax) +1 919 521 4100
Visit us on the web at:
ideacode.com Professional software research and development
reviewmysoftware.com Improve sales! Review your software before you release
bytejar.com Solutions to those annoying development problems
|