Welcome Guest, Not a member yet? Register   Sign In
How to stop submiting query in a form
#11

[eluser]johnpeace[/eluser]
Yeah, I don't see it as an either/or. Redirecting to the form submission acknowledgement page is certainly a common and acceptable technique for handling form submissions.

My approach is more about data integrity and fraud prevention.

BTW I don't usually redirect to the acknowledgement screen. My form submission logic is more like:

- if all of the conditions are met to allow insert/email
- do the insert email
- dislplay the acknowledgement template/view
- if not due to form validation fail
- display the form/validation errors
- if not due to an unwanted submission
- display the 'thanks but we don't want that submission' template/view

No redirects, just a selective display of views/templates...just how I've been doing it lately.


Messages In This Thread
How to stop submiting query in a form - by El Forum - 08-26-2012, 02:18 AM
How to stop submiting query in a form - by El Forum - 08-26-2012, 02:29 AM
How to stop submiting query in a form - by El Forum - 08-26-2012, 02:34 AM
How to stop submiting query in a form - by El Forum - 08-26-2012, 02:56 AM
How to stop submiting query in a form - by El Forum - 08-26-2012, 03:14 AM
How to stop submiting query in a form - by El Forum - 08-26-2012, 04:27 AM
How to stop submiting query in a form - by El Forum - 08-26-2012, 05:32 AM
How to stop submiting query in a form - by El Forum - 08-26-2012, 05:36 AM
How to stop submiting query in a form - by El Forum - 08-26-2012, 05:43 AM
How to stop submiting query in a form - by El Forum - 08-26-2012, 05:57 AM
How to stop submiting query in a form - by El Forum - 08-26-2012, 06:38 AM
How to stop submiting query in a form - by El Forum - 08-26-2012, 06:46 AM



Theme © iAndrew 2016 - Forum software by © MyBB