Same problem with $this->params and my post never show up, either.
On Aug 1, 1:32 am, cephyn <[EMAIL PROTECTED]> wrote:
> Given that I have
> ***********************
> echo $form->select(
> 'ContactID',
> $pass,
> null,
> array('size'=>'5'),
> false
> );
>
> $options = array('url' => '/contacts/view/', 'update' =>
> 'contactinfo');
>
> echo $ajax->observeField('ContactID',$options);
> ************************
>
> how can I access the value of the selected object in the form field?
> I'm absolutely stumped, I can't figure it out.
>
> $this->params['form']['ContactID']?
>
> as in
>
> $options = array('url' => '/contacts/view/'.$this->params['form']
> ['ContactID'], 'update' => 'contactinfo');
>
> the ajax call should be /contacts/view/1 or /contacts/view/2, whatever
> the value chosen in the select box is. Basically, I can't figure out
> how to access that data value.....
>
> New to CakePHP, and struggling along. Really appreciate the help.
>
> And why does nothing ever post in here....I'm always worried about
> double posting, because my posts don't show up half the time....
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---