CodeIgniter Forums
SELECT and Radio Box - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: SELECT and Radio Box (/thread-59394.html)



SELECT and Radio Box - El Forum - 09-30-2013

[eluser]cidevelopment[/eluser]
Hello Community,

In the edit form I want to set the posted value (which user has changed in the select and radio box) in a select box and radio group when the form validation error occurs and the page is again displayed.

I am using
Code:
set_select('fieldname', 'value')
but i am also loading values of select box and check box set to the ones which are in the database when the form again gets displayed after form validation.