Topic: Ajax submission inside a form?
I have created a form using drag and drop effects that allows the user to drag people from a list of names into an authors area and then sort them into the appropriate order. This is in the context of a larger form that holds information about a publication.
Now I need to create a way to allow the user to add a person to the list of people that isn't in the list. So basically I would like to submit a value from a text field via Ajax and update the list of people in place.
I have the method and rjs written, but I can't figure out how to make the Ajax call from within the form field. Nested forms are illegal and in any case don't seem to work (it ignores the second form tag defining the remote form.
Any ideas on how to accomplish this?