Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#3 The matrix questions not properly closed

v1.06
closed-fixed
nobody
5
2004-07-29
2004-07-26
Fabrice Gomez
No

Hi,

When I have multiple choice questions displayed in
matrix followed by a label (no answer value), the label
is displayed before the matrix.
This problem occurs because the table of the matrix is
not closed before the writing of the label.

To correct this I had to add this code in survey.class.php

if($matrix_aid)
{
$matrix_aid = FALSE;
$end_matrix = TRUE;
}

just after the line 983 :
$template = "take_survey_question_{$r['type']}.tpl";

Otherwise, thank you for developping this.

Regards,

Fabrice Gomez

Discussion

  • John Holmes
    John Holmes
    2004-07-29

    Logged In: YES
    user_id=609197

    I've fixed this for the next version. Thank you for pointing
    it out.

    ---John Holmes...

     
  • John Holmes
    John Holmes
    2004-07-29

    • status: open --> closed
     
  • John Holmes
    John Holmes
    2004-07-29

    • status: closed --> closed-fixed