CodeIgniter Forums

Full Version: SELECT and Radio Box
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

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.