The redcap_survey_complete hook is called every time a survey is completed. This includes when a survey respondent tries to access a survey that has already been completed before & that has the option 'Save & Return later' disabled (i.e. standard message "Thank you for your interest, but you have already completed this survey." is displayed).
The Save Survey PDF to a Field module tries saving the survey PDF every time the redcap_survey_complete hook is called, even if trying to access a completed survey with "Save & Return Later" disabled. This causes errors, as the module tries saving a PDF while no empty field to save the PDF to exists, which is also not expected as 'Save & Return Later' is disabled. Could this please be fixed?
The redcap_survey_complete hook is called every time a survey is completed. This includes when a survey respondent tries to access a survey that has already been completed before & that has the option 'Save & Return later' disabled (i.e. standard message "Thank you for your interest, but you have already completed this survey." is displayed).
The Save Survey PDF to a Field module tries saving the survey PDF every time the redcap_survey_complete hook is called, even if trying to access a completed survey with "Save & Return Later" disabled. This causes errors, as the module tries saving a PDF while no empty field to save the PDF to exists, which is also not expected as 'Save & Return Later' is disabled. Could this please be fixed?