After the thanks message I would like to have all data removed so that when reopening the form, all fields appear blank. In php I earlier used s.th. like session_kill. Is there anything adaquate available in CF?
Forums
How to kill the session?
Hi HerKle,
Not tested but at you could use a Custom action with a 'Session to Data' action with 'Clear after' set to Yes; and then unset the $form->data array.
This would probably need to be on the OnSubmit action after the Thank You page so that you didn't delete the data in the middle of the Confirmation page process.
Bob
Not tested but at you could use a Custom action with a 'Session to Data' action with 'Clear after' set to Yes; and then unset the $form->data array.
This would probably need to be on the OnSubmit action after the Thank You page so that you didn't delete the data in the middle of the Confirmation page process.
Bob
In my case the "session to data - with clear: yes" had to be placed on the "confirmation page" right after "show thanks message". Putting it on "on submit" after the confirmation page box it showed the effect to delete the data before sending, recording and showing it.
Hi HerKle,
Well done, that makes sense. Very often these problems take a clear head and a little thought to work out the extact sequence of what is happening with the user and the form data.
Bob
Well done, that makes sense. Very often these problems take a clear head and a little thought to work out the extact sequence of what is happening with the user and the form data.
Bob
:)
I liked this trans-atlantic co-operation to set up a form for an event which takes place in between us, on Iceland: http://icebreaker2012.eu
And though I validated the form to get rid of the disturbing chronoform links right beneath the texts, I credited you on bottom of the page (where it belongs to my opinion). I believe you earned that well.
I liked this trans-atlantic co-operation to set up a form for an event which takes place in between us, on Iceland: http://icebreaker2012.eu
And though I validated the form to get rid of the disturbing chronoform links right beneath the texts, I credited you on bottom of the page (where it belongs to my opinion). I believe you earned that well.
This topic is locked and no more replies can be posted.