Making a form by having a view I am trying to convert a view to a form as follows:

I need to have a table of articles (which can be produces easily by views) and inserting a checkbox next to each row (article), and a button next to this table as Submit button.
The created form out of the articles` view should be able to initialize the value of the checkboxes before showing them (which can be done somehow by form_alter).

So, the problem is that I really don't know how to create this form. 

I used VBO, but VBO does the operation for the selected rows! I need a method which can help me to set the values of checkboxes by code, before views render, and when the submit button is clicked, whole rows should be checked!

can you please suggest a tested &amp; working solution?

thanks
view_form_submit is not working in D7, you have to use the hook_form_alter and then you have to change the #submit:

$form['actions']['submit']['#submit'][] = 'custom_form_submit';