06-30-2010, 07:47 AM
[eluser]pendalpusher[/eluser]
I have a pretty extensive form going and I am using set_value() to repopulate if validation fails.
There are two fields on the page that will not repopulate ... can anyone tell me why?
Here is what I have in php
but no matter what i do it will not repopulate the form field all i get in the source code is this
anyone have an idea??
this happens on this field and one other one. I have checked and double checked the code, I even re-wrote the sections near the problems in case i missed something. But still nothing.
Thanks for any help.
P
I have a pretty extensive form going and I am using set_value() to repopulate if validation fails.
There are two fields on the page that will not repopulate ... can anyone tell me why?
Here is what I have in php
Code:
<?=form_label('Job Number','job_number');?>
<?=form_input('job_number',set_value('job_number'));?>
but no matter what i do it will not repopulate the form field all i get in the source code is this
Code:
//HTML OUTPUT
<label for="job_number">Job Number</label>
<input type="text" name="job_number" value="" />
anyone have an idea??
this happens on this field and one other one. I have checked and double checked the code, I even re-wrote the sections near the problems in case i missed something. But still nothing.
Thanks for any help.
P