Fixing submitting subforms rendered as tables - now values are saved
[refactoring] splitting method into 3
Setting the correct value when rendering the form, and highlighting the correct position in the html select