email form plugin and php form plugin

tenbob

New Member
I am trying to code (what I thought would be) a simple contact form. The user fills in some data associated with a row in the database and the form is posted to an email address that is stored in the same row. For security reasons the email address is not actually displayed on the form.

Despite trying for several hours, I can't get this to work. Can someone please show me how to access elements that are in the database, but not on the form, using php.

I also tried using the php form plugin to print out variables for debugging. I couldn't get that to work either. The Wiki suggests using.
PHP:
Fabrik 3.0:
echo "<pre>";print_r($formModel->_formData);exit;

or for Fabrik 3.1:
echo "<pre>";print_r($formModel->formData);exit

All I get is a page with <pre> and </pre> tags and nothing else. Can anyone say what might be wrong here.

Thanks, Bob
 
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top