Dec 4th, 2010, 5:04 PM
Yeah, what you described may work - unless the Payment_Type field is on that page. If so, I'd do:
This is because I think $fields only gets updated by ft_api_process_form & won't contain the right value at that point.
But I'm still a little puzzled about your $_SERVER["PHP_SELF"] doling up an incorrect value... I haven't seen that before. If Form Tools is located at that same location, I can't see it working properly.
I'd be tempted to fire off an email to your host entitled "What the WHAT?" and ask them what's up.
- Ben
Code:
if ($_POST["Payment_Type"] == "Check")
{
...
}
This is because I think $fields only gets updated by ft_api_process_form & won't contain the right value at that point.
But I'm still a little puzzled about your $_SERVER["PHP_SELF"] doling up an incorrect value... I haven't seen that before. If Form Tools is located at that same location, I can't see it working properly.
I'd be tempted to fire off an email to your host entitled "What the WHAT?" and ask them what's up.
- Ben