SurveyGrid saves and load values as it would be a text question. Doing
On 7 Ott, 18:16, Michael Davis <
M.R.Da...@cranfield.ac.uk> wrote:
> Hi Yuri,
>
> I would suggest a different approach, which is similar to how the
> surveyMatrix works.
>
> Basically have two types: SurveyGrid, SurveyGridQuestion.
>
> SurveyGrid is folderish, contains the question, and deals with the view etc.
> SurveGridQuestion is the actual question, and deals with the answer,
> validation etc.
>
> The view applied to the SurveyGrid just iterates over the sub questions and
> displays them how you want them. That follows the same pattern in
> PloneSurvey, where each question box is a seperate object, rather than
> trying to add in a question, which is effectively a group of questions.
> Doing it using DataGrid will probably be painful on other elements of the
> product, like how the survey results is displayed, and effectively removes
> the ability for the survey owner to modify the sub questions in the
> SurveyGrid.
>
> Cheers
> Michael
>