Hi chaps, I have a relationship - User HABTM Organisation - and I have an extra field 'account_number' in my join table.
On my user registration form, I need to it display a corresponding checkbox and text input for each organisation that exists in the database. If the user ticks the checkbox for a given organisation to state that they're a member of that organisation, the text input becomes enabled, allowing them to enter their account number. Obviously, if I didnt have this extra field and only needed the checkboxes, this would be fairly automatic using 'multiple'=>'checkbox', but I'm wondering if there's a CakePHP-friendly way of achieving what I want with this extra field / input. Of course, I could assemble the form manually and reassemble the info from $this->data in my controller to get it into the correct format for the save, but I'm wondering if there's an easier way of doing what I need.... Any suggestions on a decent approach for this? Cheers! Toby --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---
