• Resolved Albertoojem

    (@albertoojem)


    Hi there!
    I’m trying to add below my form 2 checkboxes.

    Unfortunately, I need that everytime the visitor fill the form and mark one of the checkboxes, a popup appears where there’s a long text, and at the end of itself, the visitor agrees to accept the use of his data.

    Like:

    >NAME
    >SURNAME
    >EMAIL
    Check box 1: I agree that the company XYX will use my information (when clicking a popup opens with the info)
    Check box 2: I agree that the company ZXZ will use my information (when clicking a second popup opens with the second info)
    >SEND

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @albertoojem,

    This is definitely a job for javascript. You’ll want to add a click event listener to each checkbox that either creates or un-hides a popup. You can then add a click listener to the “confirm” button in the popup which saves that confirmation (variable, cookie, localstorage). Lastly, you’ll want to add a click event listener to the submit button that prevents the form submission, checks that the values of those two popups are there, then manually submits the form.

    Let me know if that makes sense,
    Jon

    Thread Starter Albertoojem

    (@albertoojem)

    Yeah, it totally makes sense.

    I’m super-dumb when talking about javascript tho… 🙁

    Plugin Contributor Tracy Levesque

    (@liljimmi)

    🏳️‍🌈 YIKES, Inc. Co-Owner

    Hi @albertoojem

    You may need to hire a dev to do this implication for you.
    This is a task beyond the abilities of the free support forums.

    Stay well.
    -Tracy

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘2 checkboxes with popup’ is closed to new replies.