The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
Submission pre-parser - general question - Printable Version +- Form Tools (https://forums.formtools.org) +-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1) +--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5) +--- Thread: Submission pre-parser - general question (/showthread.php?tid=5282) |
Submission pre-parser - general question - smoring - Aug 18th, 2015 I've installed the module, and can configure the rules that I'd like to execute on submission. Everything seems to be fine from the UI. Using the code samples, I thought I'd done everything correctly, but I think I'm missing something. Wouldn't I see the output from the two echo commands and (If I've got a field in the table that's Client1_Total_Sell), shouldn't the table field have a value set? <?php echo "Hello"; echo var_dump($Client1_Sell_Amount1); $_POST["Client1_Total_Sell"] = "999999"; ?> What am I missing, it has to be something obvious? RE: Submission pre-parser - general question - smoring - Aug 18th, 2015 I ran the system check, hook verification showed a few errors. I removed the hook components since I didn't need them, no joy. Then out of desperation, I tested creating a new rule for the pre-parser against a brand new form (and table), and it fired. I then deleted my rule, created a new rule against the original form, and it's now firing. I have ZERO idea why this solved the problem, but I thought I'd share. |