Welcome Guest, Not a member yet? Register   Sign In
Form Validation and repopulating the form (set_value)
#3

[eluser]TheFuzzy0ne[/eluser]
[quote author="puppycrack" date="1231742124"]It seems the form helper should also be checking if the form validation library contains the field in question, and if it doesn't, it should use the $_POST array.
[/quote]

I'm not sure I understand. That's exactly what the helper does do. If neither exist, then it's up to you to supply a default value for set_value().

Besides, in my very limited experience, I've yet to find any user submitted data that doesn't require validation of some kind. There usually something to be checked, even if it's just the length to ensure it'll fit in the database.


Messages In This Thread
Form Validation and repopulating the form (set_value) - by El Forum - 01-11-2009, 06:35 PM
Form Validation and repopulating the form (set_value) - by El Forum - 02-19-2009, 10:08 AM
Form Validation and repopulating the form (set_value) - by El Forum - 02-19-2009, 10:18 AM
Form Validation and repopulating the form (set_value) - by El Forum - 02-19-2009, 10:26 AM
Form Validation and repopulating the form (set_value) - by El Forum - 02-19-2009, 10:58 AM



Theme © iAndrew 2016 - Forum software by © MyBB