This topic is locked

Form page like contact

8/13/2010 3:44:25 PM
PHPRunner General questions
W
webdino author

Hello,

is there a example or default to add a form page to PHPR such like a contact form on each web page to contact the administrator and send a email after send and reply a thankyou message. Don´t save the data in the database.

I know I can set the fields in a table to show it on screen, but after submit I will only send an email and display a message. No saving data.

A
ann 8/16/2010

Hi,
use Before record added event on the Events tab to send email and display image (use Add Action button for the corresponding samples).

Then add the below code at the end of the event to prevent saving:

return false;