Welcome Guest, Not a member yet? Register   Sign In
trying to understand form_validation
#9

[eluser]WanWizard[/eluser]
You should always validate everything posted, hidden or not. Besides, you're using this field for database interaction, so I assume you want to make sure it is defined and valid.

Having said that, if you don't want a field to be requied, you can set an empty validation rule. That way it will become available to set_value().


Messages In This Thread
trying to understand form_validation - by El Forum - 07-02-2010, 01:39 PM
trying to understand form_validation - by El Forum - 07-02-2010, 08:33 PM
trying to understand form_validation - by El Forum - 07-03-2010, 05:38 AM
trying to understand form_validation - by El Forum - 07-03-2010, 06:43 AM
trying to understand form_validation - by El Forum - 07-03-2010, 11:31 AM
trying to understand form_validation - by El Forum - 07-03-2010, 12:28 PM
trying to understand form_validation - by El Forum - 07-03-2010, 04:08 PM
trying to understand form_validation - by El Forum - 07-04-2010, 07:45 AM
trying to understand form_validation - by El Forum - 07-04-2010, 08:05 AM
trying to understand form_validation - by El Forum - 07-04-2010, 08:15 AM
trying to understand form_validation - by El Forum - 07-04-2010, 11:02 AM
trying to understand form_validation - by El Forum - 07-04-2010, 11:48 AM



Theme © iAndrew 2016 - Forum software by © MyBB