Good luck Ed, hope someone else can give you some better advice! I
unfortunately haven't played around with Ajax as much, so can't shed
any light on the issue!
Enjoy,
   John

On Jun 16, 11:59 am, Ed Propsner <crotchf...@gmail.com> wrote:
> I removed the model name (Search) from the field(s) and the result was the
> same ... minus [Search] in the array (obviously).
> All the field names are now uniform with both the search view and the ajax
> view.
>
> The region view (returned) via ajax simply echoes the region field and that
> is all.
> I didn't see the need for a form create or end.
>
> If I follow you correctly on the HTML thing, when the page initially loads
> the HTML is as you would expect "<select name="region" id="SearchRegion">"
> or I am not following you on that one?
>
> At first I was inclined to think that it had something to do with the Ajax,
> but now I just confused 8-) Even though the (ajax) region is submitting with
> the rest of the form ($this->params) it's still being treated as it's own
> element which makes sense because it started off as it's own element and was
> introduced to the form after the fact. Does that make any sense?
>
> The reason I made the comment in my earlier post about going about this
> differently is because if I was able to pass back an array of new regions
> and reload the existing region field with that array instead of passing back
> a whole new form element (region), I'm thinking none of this would be an
> issue.
>
> I guess I need to play around some more because there must be a way to do
> that. Cake has been quite the learning experience 8-)
>
> - Ed
[snip]

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to