CodeIgniter Forums
SELECT and Radio Box - Printable Version

+- CodeIgniter Forums (
+-- Forum: Archived Discussions (
+--- Forum: Archived Development & Programming (
+--- Thread: SELECT and Radio Box (/thread-59394.html)

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

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
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.