Hello,
I've been using phpESP to set-up survey's for a small nonprofit.
Initially most of their surveys were fairly simplistic, but
eventually, we got to a survey that is pretty complex.
phpESP handles developing the survey well, but not formatting the
questions as need. For example: A single question on the survey may
actually be five questions in phpESP. Take a basic Yes/No question
that then requires follow-up on both the yes and no, etc.
So to handle this, I built the survey in phpESP, captured the page
code, then built stand alone pages for each section of the survey.
That way, I could reconstitute tables, adjust labels, etc., etc. to
suit the paper version of the survey. (see
http://nahic.ucsf.edu/index.php/surveys/2005_Network_page1/ ) It's not
password protected yet.
My problem is, though each section can be set-up to submit data
properly. Because the page/section data isn't handled via url, I can't
get the next page to load my formatted pages vs the internally phpESP
pages.
I had originally made the assumption that the final survey pages would
be handled in the manner similar to the test pages. So I was expecting
to be able to use redirects to convert a url like:
http://nahic.ucsf.edu/index.php/surveys?p=3D2 into
http://nahic.ucsf.edu/index.php/surveys/2005_Network_page2/
My current solution was to change the "Thank You" text so that users
can manually select the next section. But I'd love to automate this. I
was thinking one option might be to send data strings to the url, so
that when internally in the system the page advances, that even though
it would be useless to phpESP, the url would reflect the change. So
have the url write: http://nahic.ucsf.edu/index.php/surveys?p=3D2 so
that redirects could be written from that.
I'm wondering if any gurus or otherwise enterprising individuals have
any ideas. Will this work? Is there a better easier way? Is there a
way to tell phpESP NOT to auto-generate the survey but use specified
pages that I'm completely overlooking. I can't imagine that I'm the
first support person to get roped into making a survey look just like
the paper version, when the paper version is a convoluted maze of
overlapping questions.
Alnisa
|