The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
Managing Data collecting fields - 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: Managing Data collecting fields (/showthread.php?tid=350) |
Managing Data collecting fields - OrionWeb - Oct 30th, 2009 Hello, The forms I have created are working just fine. Form Tools is a great product. One question I have is: Once we have all the form fields data collecting, can we manage which one we might want turned off? The clients wants to receive the email with all the field data but now wants to only see certain fields collecting data. So if the form has 25 fields of information he wants to receive and email with 25 fields of information but now only wants 10 fields collecting data. Can this be managed? Thanks in advance Bill RE: Managing Data collecting fields - Ben - Oct 30th, 2009 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: PHP Code: $_POST["field_1"] = ""; 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 |