When the Google mobile-friendly test fails because viewport not set, and the code further down doesn’t work, then try:
<meta name="viewport" content="initial-scale=1">and it worked for the form.
When the Google mobile-friendly test fails because viewport not set, and the code further down doesn’t work, then try:
<meta name="viewport" content="initial-scale=1">