The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.28 (Linux)
|
Form Builder - Forms won't send email - Printable Version +- Form Tools (https://forums.formtools.org) +-- Forum: Modules / Other (https://forums.formtools.org/forumdisplay.php?fid=8) +--- Forum: Modules (https://forums.formtools.org/forumdisplay.php?fid=16) +--- Thread: Form Builder - Forms won't send email (/showthread.php?tid=1994) |
Form Builder - Forms won't send email - karks88 - Apr 20th, 2012 I have a highly customized template using the Form Builder module, you can see an example form at: http://www.goodallpools.com/formtools/modules/form_builder/published/contact_service.php The problem I'm running into is that the notification emails are not sending out when a form is submitted. I am able to send mail via the test feature inside Form Tools, just not when using the actual website. I also have an issue where I am able to submit blank forms, even though there are required fields. I know I must be missing something in the template, but cannot figure out what that is. Do you have any ideas as to what may be missing? I've tried copying and pasting the form, etc. from other template sets but with no luck. RE: Form Builder - Forms won't send email - karks88 - Apr 25th, 2012 Please guys, some help? RE: Form Builder - Forms won't send email - michatmaster7 - Apr 26th, 2012 (Apr 20th, 2012, 4:35 AM)karks88 Wrote: I have a highly customized template using the Form Builder module. The problem I'm running into is that the notification emails are not sending out when a form is submitted. I am able to send mail via the test feature inside Form Tools, just not when using the actual website. I am not familiar with the Form Builder module, but in the world of the FT API, this sounds like a coding error, to be honest. (Not trying to be rude). Have you triple-checked the code in your notification e-mails? Even having one character be wrong can mean no e-mail is sent, at least with the API version. (Apr 20th, 2012, 4:35 AM)karks88 Wrote: I also have an issue where I am able to submit blank forms, even though there are required fields. I know I must be missing something in the template, but cannot figure out what that is. Again, not being familiar with the Form Builder module, this sounds like a coding error on the form itself. Unfortunately, I can't be of much help this time, since I'm not experienced with the Form Builder module, yet. RE: Form Builder - Forms won't send email - karks88 - Apr 27th, 2012 Thanks for your reply! Form Builder module actually has a feature that gives you ready-made code for the notification templates. I have been using that code, but will try re-loading it just in case. Just put fresh code into the notification template, still doesn't work. Most likely I'll just have to go through my theme line by line here to see what's going on. If I test from within the admin, the mail sends just fine. If I actually go on the site and fill out the form, no mail is sent (although it does show up as a submission in the admin area). RE: Form Builder - Forms won't send email - karks88 - Apr 30th, 2012 This is the form output I get: Code: <form action="" method="post" enctype="multipart/form-data" RE: Form Builder - Forms won't send email - michatmaster7 - Apr 30th, 2012 Well, while I will say again that I'm not familiar with the Form Builder module, it seems like the form should have an action... When using a simple POST form, usually the action is something like: Code: <form action="http://www.yoursite.com/path/to/form_tools/process.php" method="post"> Referencing the do-it-yourself way from this tutorial: http://docs.formtools.org/tutorials/adding_post_form/?page=index Have you seen this?: http://modules.formtools.org/form_builder/?page=publishing_first_form RE: Form Builder - Forms won't send email - karks88 - May 1st, 2012 Thanks for your help! It seems like Form Bullder is supposed to add the form action automatically, but for some reason that's not happening. The template I'm using has this code in it: Code: <form action="{{$page_url}}" method="post" enctype="multipart/form-data" I'm going to check around and see what possibly might cause this not to work. RE: Form Builder - Forms won't send email - michatmaster7 - May 1st, 2012 That looks like a coding error that Ben will need to fix. The PHP code is saying "fill in a URL here, depending on some other stuff." Then the code that checks for the "other stuff" may not be working as intended and thus, no action URL is in the output. Or, I could be totally off base and talking in circles...lol. Unfortunately, we may need to wait for Ben on this one. RE: Form Builder - Forms won't send email - karks88 - May 2nd, 2012 I really do appreciate your help with this, very nice of you! I am going to see what Ben thinks. RE: Form Builder - Forms won't send email - Ben - May 2nd, 2012 Thanks so much, Brandon! I'm looking at this today. Keep you guys posted. - Ben |