Hello,
I've been using Chrono Forms to chain together a bunch of different forms and it's a real timesaver. I particularly like the onSubmit fields where I can easily manage all kinds of things while forms are being processed.
One thing I really would like to do though is stop a form from being written to the database and stop the email from being sent if my user doesn't meet certain criteria.
For example, if I reload the final page displayed by Chrono Forms it will submit the data again, send and email again, and in fact, again and again and again if I keep hitting reload.
For reasons best known to myself I can't just redirect my page. I need the data stored in $_POST for my onSubmit code.
Is there some function or method I can call which will stop Chrono Forms from proceeding if I don't want it to?
I've been using Chrono Forms to chain together a bunch of different forms and it's a real timesaver. I particularly like the onSubmit fields where I can easily manage all kinds of things while forms are being processed.
One thing I really would like to do though is stop a form from being written to the database and stop the email from being sent if my user doesn't meet certain criteria.
For example, if I reload the final page displayed by Chrono Forms it will submit the data again, send and email again, and in fact, again and again and again if I keep hitting reload.
For reasons best known to myself I can't just redirect my page. I need the data stored in $_POST for my onSubmit code.
Is there some function or method I can call which will stop Chrono Forms from proceeding if I don't want it to?