Lee Offenberger - 2008-01-16 21:53:01
First, thank you for this class.
I have the class installed in a CMS to handle the forms. When a form is submitted, I'm grabbing the output of the form in HTML format using:
$message=$form->FetchOutput();
I then include the message in email that I send to others for processing.
In the form, I've created a hidden field to track the IP address of the post with:
$form->AddInput(array(
"TYPE"=>"hidden",
"NAME"=>"user_IP",
"VALUE"=>$_SERVER['REMOTE_ADDR'],
));
When I view the contents of $message, the "user_IP" is not included in the output.
Is there a way to force "hidden" types to show with FetchOutput()?