Hi,

I'm trying to create an ajax form (lets call this form 2) that can be
called when filling out another form (form 1) for the purpose of
updating a select box on form 1.

Form 1 is a form for entering stories into my database.  On this form,
there is a field where the user can assign a person to the story, and
the list of people is stored in a separate table.  I basically want to
put a link to bring up form 2 next to this select box, and after the
user fills out form 2, it will save the data to my table of people and
update the select box on form 1 to reflect the addition.

I've been able to get the form to show up and everything, but the
problem is that when I try submitting form 2, it will instead submit
form 1 and take me back out to the index of stories.  Can someone tell
me why this might be happening?  I've been doing this by the seat of
my pants, so it would also be really helpful for me if someone could
outline the series of steps that the application needs to go through
with the associated ajax helper functions.

Thanks.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to