Welcome Guest, Not a member yet? Register   Sign In
Form input fields +form_validation required but not equal to default???
#4

[eluser]123wesweat[/eluser]
@noctrum, thanks

But now we don't have a default value to start with?? Let's say "..here your first name"

Code:
<?php echo form_label('fname').form_input('fname','...here your first name'));?>
So that's why i think
Code:
$fname = isset($_REQUEST['fname']) ? $_REQUEST['fname'] : '...here your first name';
echo form_label('fname').form_input('fname',$fname));?

But now i have the validation question. As the validation 'thinks', ...here your first name is your name and it will validate.

Any thoughts??


Messages In This Thread
Form input fields +form_validation required but not equal to default??? - by El Forum - 01-11-2010, 11:59 AM



Theme © iAndrew 2016 - Forum software by © MyBB