Support » Plugin: The GDPR Framework By Data443 » Custom Form

  • Resolved Chritchan


    I have custom forms on my websites and i would like show the consent privacy-policy checkbox.
    I’ve put it by myself by doing this :

    <div class="custom-control custom-checkbox">
    <input type="checkbox" class="form-control custom-control-input" id="privacy-policy" name="privacy-policy">
    <label class="custom-control-label" for="privacy-policy"> J’accepte <a href="">les conditions et la politique de confidentialité</a>.</label>

    and in my php code this :

    if (isset($_POST['privacy-policy']) && $_POST['privacy-policy'] === 'on') {
    $dataSubject = gdpr('data-subject')->getByEmail($_POST['email']);

    but this returns me an error :
    Class does not exist

    Can you tel me the correct method to implement this to a custom contact form ?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author indrek_k


    Hi there!

    Thanks for the bug report! It looks like the alias for the data subject manager class is missing. I will re-add it and let you know – should be around tomorrow or so.

    Thread Starter Chritchan


    Hi there,
    Have you fixed the probleme ? do you want more details ?

    Plugin Author indrek_k


    Hi there!

    Sorry about the delay. I’ve pushed the update live and this should solve the problem. If not, please let me know!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom Form’ is closed to new replies.