manikandan170890 / php-form-builder-class

Automatically exported from code.google.com/p/php-form-builder-class
GNU General Public License v3.0
0 stars 1 forks source link

Allowing Google Spreadsheet version to post to email address also #126

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Set up php-form-builder-class with Google Spreadsheets
2. Fill out form and submit
3. Details sent to spreadsheet, but not defined email address

What is the expected output? What do you see instead?
The data is sent perfectly well to a Google Spreadsheet, but it would be ideal 
to have the same info sent to a defined email address.

What version of the product are you using? On what operating system?

The latest.

Please provide any additional information below.

I have looked at both the php-form-builder-class for Google Spreadsheet AND 
Email w/PHP Mailer which both work fine separately, but it would be ideal to be 
able to combine the two. When you submit a form, it sends the data to the 
Google Spreadsheet, but also sends the data to a defined email address like you 
do using Email w/PHP Mailer.

Any help would be really appreciated and will help future users.

Original issue reported on code.google.com by rich.g.c...@gmail.com on 19 Apr 2011 at 5:38

GoogleCodeExporter commented 9 years ago
My recommendation would be to use both the $form->email() and 
$form->sendToGoogleSpreadsheet() methods after your form has been submitted.  
It's not a "one or the other" type of scenario.

- Andrew

Original comment by ajporterfield@gmail.com on 19 Apr 2011 at 6:59

GoogleCodeExporter commented 9 years ago
Can you help me with doing this at all? I know this isn't the role of these 
comments, but it would help greatly, and hopefully inform future 
users/development.

Best
Richard

Original comment by rich.g.c...@gmail.com on 19 Apr 2011 at 7:31

GoogleCodeExporter commented 9 years ago
The upper sections of the two example files included with the project's 
download (php-form-builder-class/examples/email.php and 
php-form-builder-class/examples/google-spreadsheets.php) contain the 
information you're looking for.  It's just a matter of calling both functions 
after the form has been submitted instead of just one.  Does that make sense?  
Hopefully I'm not misunderstanding your question.

- Andrew

Original comment by ajporterfield@gmail.com on 19 Apr 2011 at 9:03

GoogleCodeExporter commented 9 years ago
Makes perfect sense, Andrew - I appreciate this and glad it can be done. I have 
managed to get both projects working separately - just have to figure out how 
where to call them both. I'll ask around :)

Original comment by rich.g.c...@gmail.com on 19 Apr 2011 at 9:06