set_value() default value - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: set_value() default value (/showthread.php?tid=30889) |
set_value() default value - El Forum - 05-29-2010 [eluser]Dave Blencowe[/eluser] Hi there, I'm currently looking at extending the form_validations set_value() function so that it except a default value as a parameter. This parameter would be displayed if the form had yet to be submitted. Just wondering if anyone had any input on this? Dave, set_value() default value - El Forum - 05-29-2010 [eluser]WanWizard[/eluser] set_value() does have a second parameter which you can use to pass a default value. What extra functionality did you have in mind? set_value() default value - El Forum - 05-29-2010 [eluser]Dave Blencowe[/eluser] Guess who never read the helper section. Well, that stops me in my track,s thanks for pointing it out though! |