I searched around for a bit but couldnt find anything too specific for this question.

I have 2 separate forms on 1 page, basically a one or the other method of getting to a search results page. I have address input fields separate from the forms, and I would like to include the values from the address fields as passed variables within either form when it is submitted.

I'm not very knowledgeable about JavaScript, but here is how I think it could work.

When either form is submitted, run a function which grabs the values from the address fields.

One other problem, I'm using an implementation of LiveSearch on both forms, so I have ' onsubmit="return liveSearchSubmit()" ' in my <form> tag. Is it possible to call 2 functions, ala ' onsubmit="return liveSearchSubmit(); return getAddress();" ' ?