How to get corresponding Post in Craft request?
That makes sense, because getPost always gets the last post (I think).


If you've got multiple form inputs with the same name, then the last one in is probably the value that will get sent over POST to the controller.

You could make sure your themeId name inputs are unique by appending a unique string or some such to them, then parsing through all of the submitted values on the PHP side, perhaps?