form set_value |
[eluser]jairoh_[/eluser]
[quote author="LuckyFella73" date="1369308640"] Code: <?php echo set_value('title', $default_value); ?> Where $default_value is the value from db. http://ellislab.com/codeigniter/user-gui...nreference Scroll down a bit and see section "set_value()"[/quote] yeah, but my default value will be gone if i do that. correct me if i'm wrong. yes it the invalid value will remain if i'll use set_value but how about my default value in the first load? because if i do set_value, then the default is empty. |
Messages In This Thread |
form set_value - by El Forum - 05-23-2013, 03:03 AM
form set_value - by El Forum - 05-23-2013, 03:32 AM
form set_value - by El Forum - 05-23-2013, 03:58 AM
form set_value - by El Forum - 05-23-2013, 04:30 AM
form set_value - by El Forum - 05-23-2013, 05:29 AM
form set_value - by El Forum - 05-23-2013, 07:56 AM
form set_value - by El Forum - 05-23-2013, 04:12 PM
|