• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Checkbox value never posted?

#5
[eluser]entropy[/eluser]
[quote author="CroNiX" date="1350668473"]Or if you want it to repopulate the checked state on form submission if there is an error...

Code:
'checked' => (set_value('terms') == 1)
[/quote]

Thanks! Great tip! Big Grin


Messages In This Thread
Checkbox value never posted? - by El Forum - 10-19-2012, 10:00 AM
Checkbox value never posted? - by El Forum - 10-19-2012, 10:34 AM
Checkbox value never posted? - by El Forum - 10-19-2012, 10:36 AM
Checkbox value never posted? - by El Forum - 10-19-2012, 10:41 AM
Checkbox value never posted? - by El Forum - 10-19-2012, 10:53 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.