Hi guys, this is my first post on stackoverflow, I hope you can help me out!
I need to have javascript/ajax validation for a checkbox on a form I am making, the checkbox is deselected by default but when it is ticked, a javascript box should pop up displaying this text, "You have selected the newsletter checkbox, are you sure you would like to receive our newsletter?" when they click the submit button.
If they click yes, the the form should submit the newsletter checkbox info, if not, the form should still submit, but without the newsletter checkbox info.
I would really appreciate the help, thank you.