Welcome Guest, Not a member yet? Register   Sign In
Form validation & default values
#3

[eluser]antiver[/eluser]
Well yeah, but
Code:
<input type="text" name="email" value="<?=$this->validation->email?>">
is already inserting a value, so I assumed the validation class should have a function to set an initial, default value. If not, how do I insert both (the initial, default value and the validation results)? I'm sure I could hack it together and make it work, but isn't there a standardized (or provided) way to do this?


Messages In This Thread
Form validation & default values - by El Forum - 05-23-2008, 05:27 PM
Form validation & default values - by El Forum - 05-23-2008, 07:18 PM
Form validation & default values - by El Forum - 05-23-2008, 07:27 PM
Form validation & default values - by El Forum - 05-23-2008, 08:38 PM
Form validation & default values - by El Forum - 05-23-2008, 11:58 PM



Theme © iAndrew 2016 - Forum software by © MyBB