PDA

View Full Version : Email and notifications


jsw
12-20-2007, 08:09 PM
1. How/where do you set what gets emailed? Does it have to be the whole form?
2. Can you set up a 'notification' email that lets you know that a form has been submitted, without sending all the contents of that form?

Thanks

JSW

lemjordan
12-20-2007, 08:17 PM
Hi Jonathan,

I don't know about controlling what gets sent from the form other than everything on the form, but all the other questions are addressed in the window where you edit the form, on left hand side, you have selections of setting the form to be emailed, posted to data base or possibly both. Some one can correct me on that point of both if I am wrong there. But take a look at that and then read the information in the manual, should become clear what you can do.

Lem

cheesegrits
12-20-2007, 10:47 PM
Lem is correct.

The only potential source of confusion is the difference between "email to" and "receipt confirmation".

The "email to" is intended for internal use. To mail the admins when someone submits a form, with a simple list of all the data on the form. You just tell it who to send to, Fabrik then just automatically uses a default format, including all the form data (although you can override this with your own template).

The "confirmation receipt" is designed to send to the customer. You are in complete control of what gets sent, as per the tooltips and docs. You can use whatever HTML formatting you want, include whatever data from the form you want (or none, if you just want a simple "We got your submission" message).

-- hugh

peterfrancon
03-12-2008, 07:28 AM
Lem is correct.

...form. You just tell it who to send to, Fabrik then just automatically uses a default format, including all the form data (although you can override this with your own template).

... -- hugh



I think Hugh this is where to post my question... I want to tidy the format of the email that is sent to me the Webmaster confirming an email has been sent, to make it easier to read.

Where will I find the formatting instructions for this email?

Peter
_______

Sorted! I found email.html in www.mysite.com/components/com_fabrik/views/email.

Edited the file thus:

Personal & Passport Details
For {first_name} {family_name} :
Fabrik Internal ID: {fabrik_internal_id}
Fabrik Time & Date: {time_date}
Senders IP Address: {ip}
Senders Email Address: {email}
Senders First Name: {first_name}
Senders Family Name: {family_name}

etc etc

Save the File with a suitable name in the same directory.

Select the respective form from your Administrator Components Fabrik Forms...
Click on the Templates Tab
Click on Email Template
Select the File you have just edited and saved.
Save your changes.

...next time someone completes the form... Hey Presto! It works a treat! It sends a nicely formatted easy-to-read email to you.

cheesegrits
03-12-2008, 01:05 PM
Glad you sorted it out.

-- hugh