No records are saved in data log with Redirect

How to log form submissions in ChronoForms when using multiple actions including redirect.

Overview

The problem is that the Redirect action in ChronoForms cancels all subsequent actions, including the submission logging, when it is not the last action.
Add a Database > Log Data action before the Redirect action in the Submit tab to ensure submission data is logged before the redirect occurs.

Answered
ChronoForms v8
44 44amzen 22d ago

Hello,

Chronoforms8 is great. I was surprized to see one Form with records recorded in data log submissions and the other Form with zero records despite the success of both submitted forms and that emails were clearly received.

The difference beetween the two forms is that the right one has 1 action (email) in submit tab ant the wrong one has two actions (email + redirect) in submit tab.When I remove the second action (redirect), then records are recorded correctly.Two questions : 1/ What break the recording of email process ? Does the recording works only if there is only one action : email in the submit tab, or is it the redirect action which break the recording of email action ?2/ I really need to redirect the page to another success page after the Forms has been submitted. Can you propose to me another way to make the redirection  without using the redirect action that actually break the recording. 

Thank you for your help !

Max_admin Max_admin 21d ago
Answer

Hi 44amzen

The Redirect action will cancel anything when redirecting, including the Log

So what you can do is to keep the Redirect but use the Database > Log Data action just before the Redirect in order to force the logging to occur before the Redirect

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Max_admin Max_admin 20d ago

You are welcome!

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Post a Reply