Jump to ContentJump to Navigation/Login
` ` ` ` ` `

[Register]

Occasional ATutor release updates


No Members Logged In

(8 guests in past 15 min.)

Access Understanding Web Accessibility to learn about accessibility, or Register to take the course for FREE.

Support Forums

ATutor Support

Questions & The option leave blank


You must be signed-in to post.

AuthorSubject
  Page: 1 | 2
IndieRect

Avatar for IndieRect
no_leave_blank.diff

Attachment: no_leave_blank.diff
Subject: Re: Questions & The option leave blankQuote this post in your reply
Hi,

The diff attached to this thread on 2007-12-24 is inaccessible now, so I'm reposting it.
It's for 1.5.5, but the approach is simple and I guess you'll be able to make it work for the version you're using.
Posted: 2009-07-27 04:22:42
Sameerchand2
Subject: The option leave blank in MCQsQuote this post in your reply
Hello, I have checked the forum for these. I saw some responses, however, all of them are for version 1.5. I still try to follow them but when I open the take_take.php, there was less than 250 lines of code and the instructions said to comment lines 308-309.

The second response was this:
2) Next comment out the code that displays the option for "Leave Blank" from the Multiple Choice, True False and Likert sections

case AT_TESTS_MC:
...
//echo $spacer;
//echo '<input type="radio" name="answers['.$row['question_id'].']" value="-1" id="choice_'.$row['question_id'].'_x" checked="checked" /><label for="choice_'.$row['question_id'].'_x"><em>'._AT('leave_blank').'</em></label>';

======================================

I cant see anything like this in take_test.php

Please help. I need to carry out an important examination in which I cannot have these leave blank options.

Thank you.
Posted: 2009-11-19 01:25:07
IndieRect

Avatar for IndieRect
Subject: Re: The option leave blank in MCQsQuote this post in your reply
Hello, you can download the DIFF file attached to my previous post and adapt those changes for your installation. For MC questions, you'll need to look only at lines 56...121.

The DIFF file format lists lines that have to be removed and those that have to be added, and it's quite intuitive. See an example at en.wikipedia.org/wiki/Diff#Unified_format
Posted: 2009-11-19 05:01:34
 Page: 1 | 2

You must be signed-in to post.