How to save a list of web block forms with one button?

How to save a list of web block forms with one button?

  
Hello,

I have a list of forms in one main page that consists of one Table Records of Web Block.
The Web Blocks takes an ID as parameter and contain a little form that is generated from the database regarding this ID.

So, in the main page, I have a list of little forms.

I would like to save all these forms with one single button in the main page.

But, I encounter difficulties to do that because It seems I don't have access to the variables in the web blocks from the main page.

Another idea I had, would be to add an invisible button in the web blocks and activate all these buttons from one button in the main page but I don't know how I could trigger all the buttons.

Have you a solution?
Thanks.
It worked with the Javascript Solution.