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

[eluser]theshiftexchange[/eluser]
[quote author="bargainph" date="1242886578"][quote author="Dam1an" date="1242875011"]Set value lets you set a default value for a text field, and also sets it to the value which was submitted if you fail validation.

I'm not sure if it was a concious decision that you have to set rules for everything 9even blanks) or they assumed you'd always have a rule (such as trim)[/quote]

Dam1am, I think what they were assuming is that you'd always be validation user input which is I think every common?[/quote]

Sometimes you may not want to:

I sometimes dont want/need to validate a drop down list - because the 3-4 choices I give them are ALL valid - and the 'default' select on the drop-down list is what is selected 90% of the time. So why force a 'blank' validation rule to be run on the field?


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