Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Privacy policy shown on public registration form but hidden on welcome page

More
1 week 4 days ago #275369 by joannahawrysz
Please help us help you and fill where relevant:
Your LimeSurvey version: 7.09
Own server or LimeSurvey hosting: own server
Survey theme/template: custom theme based on vanilla
==================Hello,I would like to configure a survey with public registration enabled. I want the privacy policy to be displayed on the public registration form, but not on the welcome page shown to participants who have already been added to the participant table and access the survey using their individual tokens.I have tried several configurations, but I haven't been able to achieve this.
My current settings are:Under Participant settings:
  • Allow public registration: Yes
  • Show privacy policy on registration form: Yes
  • Show privacy policy on access code form: No
Under Privacy policy settings:
  • Show privacy policy text with mandatory checkbox: Popup/Collapsible
  • Show privacy policy on access code form: No
  • Show privacy policy on registration form: Yes
All these settings are explicitly selected (not inherited).I also tried changing the main setting, Show privacy policy text with mandatory checkbox, from Popup/Collapsible to No. However, this removes the privacy policy from both the welcome page and the public registration form. It does not allow me to keep it on the registration form while hiding it on the welcome page.

My question is: Is it currently possible to display the privacy policy on the public registration form while hiding it on the welcome page for existing participants who access the survey using their tokens? If so, what is the correct combination of settings to achieve this?If not, is this a known limitation or a bug? Should the main privacy policy setting be independent of the two additional settings controlling its visibility on the registration form and the access code form?I came across the changes discussed in issue 19958 – Public registration is not compliant to GDPR , which introduced separate settings for displaying the privacy policy on the registration form and the access code form. However, I'm not sure whether the behaviour I'm looking for is supported by the current implementation.Any clarification would be greatly appreciated.Thank you!

Please Log in to join the conversation.

More
1 week 4 days ago #275371 by paul.borsdorf
Hi, you’ve configured everything correctly, via the settings it is currently not possible to display the privacy policy on the registration page while excluding it from the welcome page. You could submit a bug report requesting that this option be added.

However, there is a workaround that functions as follows: create an additional attribute (attribute_1) in the participant table and set its value to "import" for all imported participants. For those who register via the public registration process, the field will remain empty (by keeping the default setting for this attribute: "Show during registration?" set to "Off").
Next, you need to adjust the theme so that the data privacy policy is not displayed on the welcome page if "attribute_1" contains the value "import" To do this, replace the following in "firstpage.twig"
Code:
{{ include('./subviews/privacy/privacy.twig') }}
by 
Code:
{% if aSurveyInfo.showsurveypolicynotice > 0 and processString('{TOKEN:ATTRIBUTE_1}') == 'import' %}     <input type="hidden" name="datasecurity_accepted" value="on"> {% else %}     {{ include('./subviews/privacy/privacy.twig') }} {% endif %}

Does that work for you?

Best, 
Paul

Brauchen Sie Unterstützung bei der Erstellung und Auswertung von Umfragen mit LimeSurvey?
Mein Angebot als autorisierter LimeSurvey-Partner finden Sie auf meiner Website www.paulborsdorf.de

Please Log in to join the conversation.

More
1 week 2 days ago - 1 week 2 days ago #275379 by joannahawrysz
Thank you very much for your help!

What a clever solution! I have tested it and generally it works - the imported users have no policy to accept on the welcome page while it is visible during registration.

However there is one caveat - the users who registered still see the privacy policy on welcome page (even though they have accepted it during registration). Personally I feel like it could stay this way but just to test all the possible solutions - is there maybe a workaround for that as well? Maybe a way to prefill their attribute during registration?

Thank you once again.
 
Last edit: 1 week 2 days ago by joannahawrysz.

Please Log in to join the conversation.

Moderators: tpartner, holch

Lime-years ahead

Online-surveys for every purse and purpose