Forum OpenACS Q&A: Survsimp 3.2.5 question

Collapse
Posted by David Kuczek on
I am working on the 3.2.5 survey simple at the moment and found out
that it is not possible to edit a question. You can only delete it --
see /survsimp/admin/one.tcl?survey_id=x

I would like to edit the selectable answers of a question
(abstract_data_type = choice).

Additionally I would like to give users who already filled out a
survey the chance to edit it. At the moment you can only fill out a
second, third etc. one an not edit it.

Just wanted to check if someone has already bothered with this topic,
before I start coding.

The editing of the selectable answers is a little bit more
complicated. There might even be some code inside OpenACS that does
this already, but I haven't found it yet... (Short explanation: You
enter the options via a large textarea. It is being parsed into single
choices and inserted into the table survsimp_question_choices at
/survsimp/admin/question-add-3.tcl)

Collapse
Posted by Don Baccus on
You might look at the OpenACS 4 version, which was based on the 3.4 version of survey simple.  It's possible that aD addressed some of these shortcoming in a post-3.2 version.

Probably not, but worth a look!

Collapse
Posted by James Thornton on
I added on a CBT-style Q&A system for WimpyPoint -- the members of the presentation can edit the question, four answer choices, and answer explanation.

It's not exactly what you're looking for, but e-mail me if you want the code...

Collapse
Posted by David Kuczek on
Unluckily there is no appropriate code inside OpenACS 4.x.

I am pretty much done with the coding job and I am only missing the edit-code for a select.

Does anyone have a coded solution for editing entries that you inserted into the database over a textarea?