CodeIgniter Forums
default select and radio when pre-populating forms - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: default select and radio when pre-populating forms (/showthread.php?tid=23795)



default select and radio when pre-populating forms - El Forum - 10-21-2009

[eluser]dibs[/eluser]
Hi I have just upgraded to 1.7.2 and am loving how the radio and select default options seem to work now.

However I have a form I am prepopulating with a users details. set_value() works well for the text input's but when it comes to select and radio pre-population I am a little stumped.

Is this possible without writing my own function?



Many thanks for any help with this!


default select and radio when pre-populating forms - El Forum - 10-21-2009

[eluser]imn.codeartist[/eluser]
place your code here first so that we can help you