Hi,
I have a multi-form setup that works 100%. Receives submissions, emails, etc..
However, the pre-parser doesn't seem to work,, more specifically, I'm trying to combine 3 fields for phone.
I'm using your code that you demonstrated a couple of times and it doesn't work at all. Here's my code with the fields I have in the database.
Interestingly enough, if I simply type $_POST[CamperPhone"]="test"; it works just fine,, that field will receive "test" once the submission for the 6 page form is done. However, if I try $_POST[CamperPhone"]=$_POST["CamperPhone1"]; for example, it doesn't work.. I also tried print_r($_POST);exit; to debug the field CamperPhone but it never receives anything from any another variable.
Any ideas?
thanks!
John
OK, I just figured it out.. apparently, the pre-parser will only work with lowercase fields!
Can someone verify this for me? I've seen it on 2 different installs.. thanks!
I have a multi-form setup that works 100%. Receives submissions, emails, etc..
However, the pre-parser doesn't seem to work,, more specifically, I'm trying to combine 3 fields for phone.
I'm using your code that you demonstrated a couple of times and it doesn't work at all. Here's my code with the fields I have in the database.
PHP Code:
if ( (isset($_POST["CamperPhone1"]) && !empty($_POST["CamperPhone1"])) &&
(isset($_POST["CamperPhone2"]) && !empty($_POST["CamperPhone2"])) &&
(isset($_POST["CamperPhone3"]) && !empty($_POST["CamperPhone31"])) )
{
$_POST["CamperPhone"] = "{$_POST["CamperPhone1"]}-{$_POST["CamperPhone2"]}-{$_POST["CamperPhone3"]}";
}
Any ideas?
thanks!
John
OK, I just figured it out.. apparently, the pre-parser will only work with lowercase fields!
Can someone verify this for me? I've seen it on 2 different installs.. thanks!