Weird, I posted a reply, set the email me responses and then poof...no reply. Anyways here it is again.
Create 3 normal radioboxes with name="data[my_action]" preferably with one set to default checked Then in your action you can test with if (!empty($this->data) && isset($this->data['my_action'])) { switch ($this->data['my_action']) { // case statements - or you could use if..elseif...else } } Geoff -- http://lemoncake.wordpress.com On Jul 17, 8:47 am, Laburno <[EMAIL PROTECTED]> wrote: > Hi, > i'm a total newbie to Cakephph, so please don't be rude :). > I'm trying to make a form with a radio button with 3 values (the radio > is not linked to any database attribute). > Depending on the value selected, the controller function invoked will > perform different tasks... the mess is that i don't know how to check > the value of the radio and write the right conditions for the ifs. > > How can i implement this? > > Thank you --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---