I have a Chronoconnectivity v6 form that I want to enable users to either save the form input to the database, or go ahead and submit it for email. Two buttons with the same name but unique values, and a function switch that reads their values and calls functions depending on the value - one to redirect to the save event, and the other to redirect to the email event. The switch works flawlessly. However, I have as yet been able to figure out a way to carry the form data itself to these events.
When I point the form directly at the email event, it works fine. But when I point it at the switch in an event I named switch, which in turn redirects it to either the save or email event, the form data gets lost. I also tried to just calling the save or email functions from within the switch itself with no redirect, but same issue.
I've tried fiddling with custom php to gather form data and reset it, and tried fiddling with the save_to_session, and neither has worked for me. Anyone have any ideas or working examples?
When I point the form directly at the email event, it works fine. But when I point it at the switch in an event I named switch, which in turn redirects it to either the save or email event, the form data gets lost. I also tried to just calling the save or email functions from within the switch itself with no redirect, but same issue.
I've tried fiddling with custom php to gather form data and reset it, and tried fiddling with the save_to_session, and neither has worked for me. Anyone have any ideas or working examples?