batch actions allow add a proc to form parameter.

I found it cannot allowed dynamic data into form.So I added a proc to fix it.
p.s I found your markdown document had a mistake, first value second id. I changed order.