Closed (fixed)
Project:
Webform
Version:
6.x-2.3
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
24 Feb 2009 at 19:37 UTC
Updated:
22 Dec 2009 at 01:18 UTC
I'm using webform 6.x-2.3. I need to do additional processing after the form has been submitted. I put this in the Additional Processing -field:
print "test<pre>";
print_r $form;
print "</pre>";
I thought I could see the contents of $form or at least the word 'test' after submitting the form, but I can't see anything.
I included php tags. I have also the permissions to use php.
I'll try next to use the latest version of the module, even though in the release notes was nothing related to this kind of behaviour.
Any ideas what's wrong?
Comments
Comment #1
easp commentedI have done the same thing without seeing any of my print_r data.
My functions in additional processing get called correctly though. The page might be redirecting to the confirmation page before you see the print_r data.
Comment #2
quicksketchIt is getting called properly, it's just that print_r() won't show up because the code is run within an eval() call. I'd suggest installing devel module and using dsm() instead. You could also use the very manual approach to the same thing:
Comment #3
wpanssi commentedThanks! I'll try dsm.
Comment #4
quicksketch