The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $newpmmsg - Line: 40 - File: global.php(841) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/global.php(841) : eval()'d code 40 errorHandler->error
/global.php 841 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 909 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 909 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5024 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 5024 errorHandler->error
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions.php 5044 is_member
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1370 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
Attaching excel file automatically - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1)
+--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5)
+--- Thread: Attaching excel file automatically (/showthread.php?tid=279)



Attaching excel file automatically - conradcliff - Sep 5th, 2009

Hey guys, I just spent the last couple of hours installing version 1.5 only to find out there is a much more powerful version to be had so that has me a little bummed (the reason why it took me so long is because I have no idea what I'm doing with websites yet). What I'm wondering before I switch over to the newer version is if I can have it automatically attach the excel file of the form submittals when It emails me. I want to be able to open the file in google docs to automatically/partially fill out our customer contracts.

If there is anyway to do this and anyone has a clue on how it would be done and would like to share those clues I would be much obliged.

Thanks a ton!


RE: Attaching excel file automatically - Ben - Sep 7th, 2009

Hi Conrad,

Welcome to the forums! Sorry you missed the fact that FT2 was out - I've been intending to set ft2.formtools.org as the main formtools.org domain, but there's just been too much to do. Soon!

Regarding your requirement, sure, this is no problem. However, you will need to send your emails with SMTP using the Swift Mailer module. I'd recommend asking your hosting providers if they offer SMTP (most do, these days).

And here's the documentation on how to attach files to your emails.
http://modules.formtools.org/swift_mailer/documentation.php?page=file_attachments

Good luck! Smile

- Ben


RE: Attaching excel file automatically - conradcliff - Sep 7th, 2009

Wow, thanks so much for the info!! That's just excellent! So, do I need to upgrade to the latest and greatest to do this or will the old form do the job...and if it will do the job do you think I should upgrade anyway though this is all I really need?

Thanks again for the help!!


RE: Attaching excel file automatically - Ben - Sep 8th, 2009

Hey Conrad,

Unfortunately, the old Form Tools (1.5.1 or earlier) won't work, so you'll probably need to upgrade. ALSO unfortunately, there's no smooth way to upgrade - they're very different scripts, despite the name. You can check out this module, though:
http://modules.formtools.org/ft1_data_import/documentation.php

It's for porting data from an old Form Tools 1 database into Form Tools 2. It's not perfect, but it's a start!

Anyway, all the best.

Ben


RE: Attaching excel file automatically - conradcliff - Sep 11th, 2009

Sounds good, I don't really have anything important in the database at this point so I'm cool with starting over. Do I just need to delete the form tools folder off my server and that will take care of the uninstall?


RE: Attaching excel file automatically - Ben - Sep 13th, 2009

Huh! You know, in all the years I've done this project I've never even thought *once* about uninstallation. I'm kinda surprised...

In case you haven't already done so, install FT2 and port over your forms using that module I mentioned and reconfigure them to point to F2 instead of 1. Once that's done, and your forms now being stored propertly in FT2, yes, you can delete the old Form Tools folder. You'll probably want to delete the old database tables, too.

Ben