- DJporterAsked on September 18, 2013 at 06:18 AM
Most of us are putting our forms in a <div>wrapper</div> or <iframe>. We've got other stuff on the page. The forms don't look good on smaller devices though. So, I looked far and wide to find a fix-all for this media screen issue that I have seen on this forum so many times. I've asked about it myself. Not pleased with the answers though.
Turns out that the answer was under our noses. JotForm adjusts the direct link page of their forms, not the embedded one. I wanted to see how they did it. Right click -> view source code -> answer. They put in two meta names, the first one checks for the device width and then sets the scale to be viewed at. The other tells search engines that its handheld friendly.
This is the snippet of code that goes in your head section.
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
<meta name="HandheldFriendly" content="true" />
So for it works on my iPhone 5, iPad 2, my wifes iPad mini and a friends Android. The page still acts the way it should in Chrome, Safari and Firefox on Mac OS X.
Give me some feedback if it works or doesn't on other devices and platforms.Page URL:
- JotForm SupportWelvinAnswered on September 18, 2013 at 10:54 AM
First off, that codes will always work. But that doesn't work for those who uses third party web builders online such as Wix. Wix doesn't support modification of its web source codes so someone can't put that codes to the head section of their websites. But most online builders already included this meta data to their platforms, specifically to the responsive themes.
Second, our forms are mobile compatible but we recommend the default form formatting. Most of the users modified the form and customized it to their desired designs. Doing this without the mobile CSS query adjustments though the injected CSS method would affect the design of the form when access through mobiles.
I have your webpage access through an android device and yes, it works so nice. It fits to the screen.
We can always help if any issues would occur through your forms. Just please let us know.