I am working with the Ajax.InPlaceEditor from script.aculo.us and I'm having trouble combining several text fields into a single form.

For example, if my page has two editable lines of text, I'd like to be able to click them separately to make them editable. Unfortunately, this requires an instance of the InPlaceEditor for each line, complete with a separate form with OK and CANCEL button. What I need is a unified "OK" button that will post the contents of both, instead of having an "OK" button next to each line of text. I can't just make them both part of a huge block of text, I need them to be separately editable, but part of the same form.

Any ideas?

Thanks in advance.