Welcome Guest, Not a member yet? Register   Sign In
form_validation messes up the POST
#9

[eluser]Thorpe Obazee[/eluser]
[quote author="theshiftexchange" date="1242898611"]The only way I see to stop what your example is would be to create a _callback method for each dropdown - and have it compare the data posted to the data I displayed (as my drop-downs are often dynamically created) - and check at least one matches?[/quote]

well, my point is that I think every user input should be validated. As you said in your previous post, "you don't want/need validation" on dropdowns.

Anyway, I'm guessing your solution is the best option to prevent tampering of POST on dropdowns or if it's db driven you'd check if the value exists.

EDIT: sorry if the thread comments has gone offtopic


Messages In This Thread
form_validation messes up the POST - by El Forum - 05-20-2009, 03:25 PM
form_validation messes up the POST - by El Forum - 05-20-2009, 03:52 PM
form_validation messes up the POST - by El Forum - 05-20-2009, 03:55 PM
form_validation messes up the POST - by El Forum - 05-20-2009, 04:03 PM
form_validation messes up the POST - by El Forum - 05-20-2009, 07:16 PM
form_validation messes up the POST - by El Forum - 05-20-2009, 09:54 PM
form_validation messes up the POST - by El Forum - 05-20-2009, 10:17 PM
form_validation messes up the POST - by El Forum - 05-20-2009, 10:36 PM
form_validation messes up the POST - by El Forum - 05-20-2009, 10:46 PM



Theme © iAndrew 2016 - Forum software by © MyBB