Adding more features ?

You need to be logged in to post messages in the forums. New users may register here.

Maxime Thomas

Member since:
09 January 2008

Posts: 15

Wednesday 02 July 2008 3:06:24 pm

Hi,

I've worked on a design daraft for this kind of survey and it has been asked to me to implement a mecanism of 'test' as you can have in a review. For exemple, you can put values which are not number to the answers of each question (like a, b, c d) and at the end you show a count of what the user has entered : Maximum of "a" : you are a serial killer.

Is there something you have planned in order to precompute the amount of answers ?
Up

Xavier Gouley

Member since:
08 February 2008

Posts: 12

Wednesday 23 July 2008 6:11:19 am

Hi,

Seen this block in the survey.ini :

# Example group of a custom survey attribute in the extension custom
# Will be availlable in:
# <extensiondir>/<extensionname>/modules/survey/ezsurvey<questiontypename>.php
[QuestionTypeSettings_custom]
QuestionTypeList[]


It seems that we could add our own question type in the list, but I cannot find any example of a custom question type. Got one ?

I'm searching for a question type "sinlge choice", but with a good answer and bad answers, and I want to see results in the admin interface like an exam result ("you gave 3 good answers on 5"). Seen somewhere ?

Up

Xavier Gouley

Member since:
08 February 2008

Posts: 12

Thursday 07 August 2008 2:23:03 am

Hi,

I want to fix a comment in the survey.ini file :
# Example group of a custom survey attribute in the extension custom
# Will be availlable in:
# <extensiondir>/<extensionname>/modules/survey/ezsurvey<questiontypename>.php

If you want to add your own question type, you need to put it in :

<extensiondir>/<extensionname>/modules/survey/classes/ezsurvey<questiontypename>.php
but not in :
<extensiondir>/<extensionname>/modules/survey/ezsurvey<questiontypename>.php

I'm trying to develop te question type I requested above, because never found elsewhere.
Up

Bjørn Reiten

Member since:
22 February 2008

Posts: 35

Monday 11 August 2008 5:26:49 am

Hi Xavier,

I've fixed the comment in svn rev. 48 and 49 now.
Up

Brendan Pike

Member since:
09 January 2008

Posts: 36

Tuesday 24 March 2009 6:16:58 pm

Recently I suggested someone use eZSurvey 2 but unfortunately it didn't support one of the question fields they required. They needed the ability to pre-generate a matrix with headers and then have the client fill in the matrix and for it to be validated to integers only. I guess its going to be pretty rare others need this but I thought I would mention it here in case someone in the future has a similar need, perhaps we could then share the cost of creating something like this.

www.dbinformatics.com.au

We are always interested in hearing from experienced eZ PHP programmers and eZ template designers interested in contract work.

Up

You need to be logged in to post messages in the forums. New users may register here.