I did it using simple javascript, not ajax, for example, for every radio button I put this code in my view:
<input type="radio" name="valueReturnedBySearch" value="<?php echo $data['Model']['field'] ?>" onclick="javascript: document.forms[0].ModelField.value = '<?php echo $data['Model'] ['field'] ?>'" /> This way, once I click on an radio returned by the search view, the value is passed to the text field set in onclick event. I hope this help you as well --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
