PIM-2836 Prevent hidden fields to be submitted

| Q                    | A
| -------------------- | ---
| Bug fix?             | yes
| New feature?         | no
| BC breaks?           | no
| CI currently passes? | maybe
| Tests pass?          | yes
| Scenarios pass?      | maybe
| Checkstyle issues?   | no
| Changelog updated?   | no
| Fixed tickets        | PIM-2836
| Doc PR               |