Welcome Guest, Not a member yet? Register   Sign In
form validation for NOT matches
#14

[eluser]JHackamack[/eluser]
OK, so what should be happening is your browser might not support placeholder values, such as Firefox or Safari, etc. Another option to look at is javascript to capture the form submit and check to make sure the form has all the values filled in. This is commonly called Client Side Validation. Unfortunately I'm not as good at it so I can't help.

One thought that came to the top of my head is, before validation, replace "First Name" with "" in your post values

IE:
Code:
$_POST['first_name'] = str_replace("First Name","",$this->input->post('first_name'));

That way you can use set_value like you were originally doing and hopefully it might work.

Jacob


Messages In This Thread
form validation for NOT matches - by El Forum - 01-19-2010, 02:33 PM
form validation for NOT matches - by El Forum - 01-19-2010, 03:01 PM
form validation for NOT matches - by El Forum - 01-19-2010, 03:51 PM
form validation for NOT matches - by El Forum - 01-19-2010, 03:55 PM
form validation for NOT matches - by El Forum - 01-19-2010, 04:51 PM
form validation for NOT matches - by El Forum - 01-19-2010, 04:52 PM
form validation for NOT matches - by El Forum - 01-19-2010, 05:05 PM
form validation for NOT matches - by El Forum - 01-19-2010, 05:06 PM
form validation for NOT matches - by El Forum - 01-19-2010, 05:21 PM
form validation for NOT matches - by El Forum - 01-19-2010, 05:26 PM
form validation for NOT matches - by El Forum - 01-19-2010, 05:39 PM
form validation for NOT matches - by El Forum - 01-19-2010, 05:41 PM
form validation for NOT matches - by El Forum - 01-19-2010, 05:56 PM
form validation for NOT matches - by El Forum - 01-19-2010, 06:02 PM
form validation for NOT matches - by El Forum - 01-19-2010, 06:26 PM



Theme © iAndrew 2016 - Forum software by © MyBB