Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Response rate checkboxes pdf #485

Open
wants to merge 3 commits into
base: MOODLE_400_STABLE
Choose a base branch
from

Conversation

jcorel
Copy link

@jcorel jcorel commented May 18, 2023

When printing responses in PDF, rate-type question answers appear blank. This pull request addresses the issue by replacing the radio input with the checkmark symbol.

@jcorel jcorel changed the title 'response rate pdf' Fix Response rate checkboxes pdf May 19, 2023
@mchurchward
Copy link
Contributor

Thanks. Can you rebase your branch against the latest MOODLE_400_STABLE branch to fix the conflicts?

@mchurchward
Copy link
Contributor

Prior to your fix, I do see values for rate questions in the PDF. Where are you seeing the problem?

@jcorel
Copy link
Author

jcorel commented Jul 5, 2023

This is how the answers appear to me when I download the pdf from a link like this one with plugin version 3.10.2 and Moodle 3.10.11:

/mod/questionnaire/report.php?action=vresp&instance=1450&target=pdf&individualresponse=1&rid=5873

imagen

@mchurchward
Copy link
Contributor

How did you get to the step that printed a PDF for an individual response?

@jcorel
Copy link
Author

jcorel commented Jul 7, 2023

I needed to generate that PDF for an integration with a local plugin I have developed and I got to that URL by digging into the code. I don't know if it is possible to get there through the UI!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants