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

[eluser]DarkManX[/eluser]
i was using such path to solve it before i used ci (and recently laravel, rly nice framework). the best way to get rid of such redundant emails you just send form data to the email sending method, send the email, redirect to the form page again attaching flash-message and form data to the redirect. this way you can repop the form in case of failure or just display the success message. that a rly nice elegant way to validate forms and trigger sideeffects


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