Home Forums Newsletter Plugin Support Privacy Checkbox not required?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #7061
    dwolf
    Participant

    Greetings. I am a programming noob so please bear with me. In testing the newsletter plugin I am finding that when registering  it doesn’t seem to matter whether the privacy checkbox is checked or not for registration to be complete, I would like it to be required. Looking at the code it looks like its supposed to be? But I can’t be sure, the initial code for the privacy checkbox is:

    if (f.elements[“ny”] && !f.elements[“ny”].checked) {
    alert(“By checking this box you have read and accepted our privacy policy.”);
    return false;

    is the above not correct or am I unable to require this to be checked? I did not play with the code, just copied and pasted from the form code in the plugin

    Thank you

    Best regards,

    Daniel

     

    #7142
    Stefano
    Keymaster

    The code is correct and it should work. Have you a subscription form online when I can test it?

    Stefano.

    #7314
    dwolf
    Participant

    Forgive the delay in my response. The code was correct, I found I had accidentally added some junk code which broke it. Re-copying the form code fixed the problem, it works great now. Thank you!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.