Default checked value for radio group?

NickOg 24 Dec, 2015
Hi

How do I set the checked value in a radio control to a value read from the database?

I have tried {mdlMasterApplications.renewYear} and < ? php echo $form->data['mdlMasterApplications']['renewYear'];? >

Neither work even though they have corresponding values

Puzzled..

Regards

Niick
GreyHead 24 Dec, 2015
Hi Nick,

if the name of the radio group is mdlMasterApplications[renewYear] then you should have to do nothing.

Bob
NickOg 24 Dec, 2015
Thanks Bob. I will check it out. Later. I suspected I was making it more difficult than I should.

Have a good holiday break and 2016

Nick
This topic is locked and no more replies can be posted.