I am using ChronoForms 3.1 RC5.5 with Joomla 1.5.15.
First, I have a question. Why when trying to print the submitted form values of input fields in the on submit before or after email do they only display if I run them in the "on submit after email". For instance, if I put
in the on submit before, it will not display. However, if I put it in the after, it does display?
Now, onto my real question...
I have searched the forums, and thought I had the answer, but this doesn't seem to work. I have 6 checkboxes on a form, and each one has the name "terms[]" with a different value. If I check all of the boxes and submit the form, I can see (using HttpFox) that all of the terms[] are in the request. However, I can not get them out. I have tried the foreach like this:
I've also tried the implode like this:
What am I missing?
Thanks,
Kris
First, I have a question. Why when trying to print the submitted form values of input fields in the on submit before or after email do they only display if I run them in the "on submit after email". For instance, if I put
<?php echo "hello";?>
in the on submit before, it will not display. However, if I put it in the after, it does display?
Now, onto my real question...
I have searched the forums, and thought I had the answer, but this doesn't seem to work. I have 6 checkboxes on a form, and each one has the name "terms[]" with a different value. If I check all of the boxes and submit the form, I can see (using HttpFox) that all of the terms[] are in the request. However, I can not get them out. I have tried the foreach like this:
foreach ( $_POST['terms'] as $term ) {
echo "$term ";
}
I've also tried the implode like this:
echo implode(" ", $_POST['terms']);
What am I missing?
Thanks,
Kris