i have 3 form on a page and unfortunately i am not allowed to change that. the problem is when the third form is submitted, i would need to grab the data displayed from the second form to update the database incase the user changed anything on it. does anyone have any idea how i can trigger a second form to get submitted when a form is submitted?

You can use for example jQuery form plugin to submit the other form using ajax:

http://jquery.malsup.com/form/#api

/D

i have 3 form on a page and unfortunately i am not allowed to change that. the problem is when the third form is submitted, i would need to grab the data displayed from the second form to update the database incase the user changed anything on it. does anyone have any idea how i can trigger a second form to get submitted when a form is submitted?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.