Oct 30th, 2009, 6:50 PM
Hi Bill,
Thanks for the post!
There's nothing within the core script for this, but you can add this functinonality via the Submission Pre-Parser module:
http://modules.formtools.org/submission_pre_parser/
That module lets you add your own code to "pre-parse" the form submissions before they get added to the data. It basically lets you do whatever you want to the data.
So in your case, you could create a new form rule that would ensure that certain form fields are empty. e.g. if your form fields were called field_1, field_2, field_3 and field_4, you could create a rule with this code:
This would then ensure that no submissions would ever get to the database from those fields.
Hope this is clear! I'd try downloading & installing the module. Feel free to post back with any questions that pop up.
-Ben
Thanks for the post!
There's nothing within the core script for this, but you can add this functinonality via the Submission Pre-Parser module:
http://modules.formtools.org/submission_pre_parser/
That module lets you add your own code to "pre-parse" the form submissions before they get added to the data. It basically lets you do whatever you want to the data.
So in your case, you could create a new form rule that would ensure that certain form fields are empty. e.g. if your form fields were called field_1, field_2, field_3 and field_4, you could create a rule with this code:
PHP Code:
$_POST["field_1"] = "";
$_POST["field_2"] = "";
$_POST["field_3"] = "";
$_POST["field_4"] = "";
This would then ensure that no submissions would ever get to the database from those fields.
Hope this is clear! I'd try downloading & installing the module. Feel free to post back with any questions that pop up.
-Ben