• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
set_value not working??

#1
[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
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>
&lt;input type="text" name="job_number" value=""  /&gt;

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


Messages In This Thread
set_value not working?? - by El Forum - 06-30-2010, 07:47 AM
set_value not working?? - by El Forum - 06-30-2010, 07:50 AM
set_value not working?? - by El Forum - 06-30-2010, 07:57 AM
set_value not working?? - by El Forum - 06-30-2010, 08:00 AM
set_value not working?? - by El Forum - 06-30-2010, 08:03 AM
set_value not working?? - by El Forum - 06-30-2010, 08:17 AM
set_value not working?? - by El Forum - 07-19-2010, 04:41 PM
set_value not working?? - by El Forum - 07-28-2011, 12:21 PM
set_value not working?? - by El Forum - 07-16-2012, 12:21 PM
set_value not working?? - by El Forum - 07-16-2012, 02:49 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.