Welcome Guest, Not a member yet? Register   Sign In
[SOLVED] how Re-populating the check box value in form?
#4

[eluser]sineld[/eluser]
this is my way to this:
Code:
<?=form_checkbox(array('name' => 'uyeBilgi', 'value' => 1, 'checked' => (isset($_POST['uyeBilgi']) || !$_POST) ? true : false, 'id'=> 'uyeBilgi'))?>

topic is may be old but I thought somebody may need it.


Messages In This Thread
[SOLVED] how Re-populating the check box value in form? - by El Forum - 06-01-2010, 10:27 PM
[SOLVED] how Re-populating the check box value in form? - by El Forum - 06-01-2010, 10:36 PM
[SOLVED] how Re-populating the check box value in form? - by El Forum - 06-01-2010, 11:26 PM
[SOLVED] how Re-populating the check box value in form? - by El Forum - 08-14-2011, 12:52 PM



Theme © iAndrew 2016 - Forum software by © MyBB