Datatables Editor get post data only
Datatables Editor get post data only

I would like to have in my form just a checkbox to either send email or not. This data will not be posting to the table. Then in the back i want to have an if statement to see if box is checked. How is the data passed to the php file from the form?
Thoughts:
if($_POST['sendEmail'] == '1'){ //Send email }
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
More useful info.
I tried using $_GET['sendEmail'] and also $_POST with no luck.
Response from network (F12)
I figured it out. I am an idiot lol.
$values
is key to this lol.Thanks for posting back.
For anyone else who finds this thread, using a server-side event gives you access to the values for the row, and you can use the event handler to send an e-mail if required.
Allan