Building a recommend this website form

Shows some Tutorials

Building a recommend this website form

Postby nrigo on Mon May 12, 2008 10:12 pm

Hello,

I'am already using Chronoforms and I would like to build a form to recommend the website to friends.

If somebody has some ideas and can help me, I would appreciate.

Here is what I would like to do:

Allowing input of 10 contact with firstname / name and e-mail adresses fields in the form.

Sending a personalized message for each recipients like:

Dear [firstname] [name],

sender [firstname] and [name][/i] recommends you to visit the website of our charity organisation...


Thank you in advance to provide me an approach for this,

Nicolas
nrigo
Fresh Boarder
 
Posts: 2
Joined: Mon Oct 29, 2007 11:53 am

Re:Building a recommend this website form

Postby GreyHead on Tue May 13, 2008 8:43 am

Hi Nicholas,

Collect the data in an array by naming the fields friends['firstname'][], friends['lastname'][] and friends['email'][]

Then you can have a little PHP foreach loop in the 'OnSubmit after email' box that goes through the array and sends each friend a personalised email.

Bob
Bob Janes
info at greyhead.net
ChronoForms Support If you like ChronoForms please vote or post a review at Joomla.org
User avatar
GreyHead
Platinum Boarder
 
Posts: 3892
Joined: Tue May 29, 2007 10:15 pm
Location: Brittany

Re:Building a recommend this website form

Postby nrigo on Tue May 13, 2008 8:57 am

Hello Bob,

Thank you for your answer.

I will try to do this in the next days.

Kind regards,

Nicolas
nrigo
Fresh Boarder
 
Posts: 2
Joined: Mon Oct 29, 2007 11:53 am


Return to ChronoForms How To

Who is online

Users browsing this forum: No registered users and 2 guests