Welcome Guest, Not a member yet? Register   Sign In
Running "if" statements in the View?
#3

[eluser]obiron2[/eluser]
I agree, you already know $animal->sex in the controller (or possibly even in the model), so set the checked value of the relevant radio button in there and use the form helper to set it to be selected.

Obiron


Messages In This Thread
Running "if" statements in the View? - by El Forum - 01-28-2009, 07:06 PM
Running "if" statements in the View? - by El Forum - 01-28-2009, 11:24 PM
Running "if" statements in the View? - by El Forum - 01-29-2009, 08:17 AM



Theme © iAndrew 2016 - Forum software by © MyBB