The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
![]() |
Emails not sent unless next_page populated even if finalize. - Printable Version +- Form Tools (https://forums.formtools.org) +-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1) +--- Forum: API (https://forums.formtools.org/forumdisplay.php?fid=17) +--- Thread: Emails not sent unless next_page populated even if finalize. (/showthread.php?tid=652) |
Emails not sent unless next_page populated even if finalize. - spcjak7221 - Apr 14th, 2010 bug fix: api.php: ft_api_process_form: line 846 I'd like to display a message without redirecting upon a successful form submission but the notification emails aren't sent unless the "next_page" variable is populated forcing a redirect. Before Code: if ($passes_captcha && !empty($next_page) && !$is_deleting_file) After Code: if ($passes_captcha && !$is_deleting_file) RE: Emails not sent unless next_page populated even if finalize. - Ben - Apr 18th, 2010 Excellent, thanks spcjak7221! I've logged this as a bug and will address it in the next version of the API. http://bugs.formtools.org/index.php?cmd=view&id=220 - Ben RE: Emails not sent unless next_page populated even if finalize. - halles - Jun 15th, 2010 Excelent find. I was just having an issue with this and was going crazy thinking it was my mistake ![]() For the record, the fix works. Many Thanks! |