Bug Report 4: Skipped Fill in Text Entries Questions Not Recorded as Unanswered

Hello ActivePresenter Team,

In my project, I have 3 slides. Each slide contains a Fill-in-the-Blank text entry question.

I allow the learner to skip the first two questions and go directly to the 3rd slide to submit.

Expected Result:
When the learner clicks Submit on the last slide, I expect the system to record that the first two questions were left blank.

Actual Result:
When I check using Show Responses → All showing interactions, I only see the response for the 3rd question. The first two questions show no information at all, as if they don’t exist.

This problem happens only with Fill in Text Entries questions. For other question types, even if skipped or left blank, responses are correctly recorded as unanswered.

Debug Info (from Developer Console):

rlplayer.js:101 Uncaught TypeError: Cannot read properties of undefined (reading 'toLowerCase')
    at i.re (rlplayer.js:101:210198)
    at i.re (rlplayer.js:101:156798)
    at we (rlplayer.js:101:31653)
    at a (rlplayer.js:101:118520)
    at i.<anonymous> (rlplayer.js:101:118536)
    at i.r (rlplayer.js:101:150008)
    at i.dispatch (rlplayer.js:30:39053)
    at m.handle (rlplayer.js:30:37048)
    at Object.trigger (rlplayer.js:30:67506)
    at w.fn.init.triggerHandler (rlplayer.js:30:68185)

Analysis:
The error happens because in rlplayer.js , the code calls .toLowerCase() on a response that is undefined .
Normally, unanswered questions should be recorded as "" (empty) or "unanswered" .
But for Fill in Text Entries , if the learner skips the question without any interaction, the response variable stays undefined .
When the player executes undefined.toLowerCase() , it throws the error above.

Could you please review and fix so that skipped Fill in Text Entries questions are also recorded as unanswered (blank), just like other question types?

Question.approj (328 KB)

Hi,

  • The questions on slides 1 and 2 haven’t been submitted yet, so that’s why no response shows up. The Submit button on slide 3 only works for the interactions on that slide (the question there), not for the whole presentation.
    To fix this, just add a Submit action to the Next buttons, so when you move to the next slide, the question on that slide will also be submitted.
  • The Show Response on slide 3 is set to display only for that slide. If you also want it to appear on slides 1 and 2, add a Show Response action to the On Load event of those slides. That way, when you go back, you’ll see the responses showing up too.

Please the attached project for more information.
Question_Fixed.approj (260 KB)

1 Like

Hi Hang,

Thank you very much for your detailed explanation and the updated project It really helps.

Could you please test my scenario as follows?

  • The Table of Contents panel is open on the left.
  • The learner does not click Next at all. Instead, they directly click Slide 3 from the Table of Contents and then press Submit there.
  • After that, the learner clicks Slide 1 or Slide 2 again from the Table of Contents.

At this point, the error I mentioned is thrown in the console and the application crashes. The responses for Slides 1 and 2 are not shown.

This is the exact situation where the issue occurs.

Best regards,

1 Like

Hi Hang,

Did you have a chance to test the scenario I described above? I really need a solution for this case.

Best regards,

Yes, please find the sample project attached for your reference.
Question1.approj (260 KB)
The steps to create it are as follows:

  1. Create a True/False variable to determine whether the Submit button has been clicked (for example, set it to False in the project).
  2. Add an Adjust Variable action to the Submit button’s On Click event: set that variable to True.
  3. In the On Load event of each slide, add an action.

Regards,

1 Like

I really appreciate your help and support with this. Thanks a lot for taking the time to guide me through it.

1 Like

Update:

Hi Hang,
When I try the same scenario in Review mode, unfortunately it doesn’t work. Is there any way to make it work? Thank you for your help.