Web development , php , ajax , symfony, framework, zend
In: web resources
11 Mar 2010Mobile forms tend to have significantly more constraints than their desktop cousins: screens are smaller; connections are slower; text entry is trickier; the list goes on. So, limiting the number of forms in your mobile applications and websites is generally a good idea. When you do want input from users on mobile devices, radio buttons, checkboxes, select menus and lists tend to work much better than open text fields.
But constraints breed innovation, and mobile forms are no different. The limitations of mobile devices have forced developers and designers to find new ways to allow users to input data faster and more easily. Thanks to the modern solutions covered in this article, the mobile space may not be a place to avoid forms much longer. Instead, it may become the place to encourage them.
By the way, what was the last time you visited our sister site Noupe? Subscribe to Noupe’s feed for more inspirational and design-related articles.
In many mobile Web browsers, when a user selects a form’s input field, the “field zoom” feature expands it to fill the screen’s viewable area. This makes an otherwise tiny field large enough for people to actually see the data they are entering. Given that many form errors are caused by people not seeing their inputs well enough to correct misspellings, the usability of this feature is clear.
The Safari browser on Apple’s iPhone makes use of field zoom together with a “form assistant.” The form assistant displays “Previous,” “Next,” “AutoFill” and “Done” buttons below the magnified input field, giving people an easy way to move through and complete a form. No need to worry if an input field is off screen: the user just hits “Next” and won’t miss it!

However, not everyone will know about the form assistant or know how to hide the keyboard. So, make sure the controls on the Web page still allow them to complete the form. Excessive spacing around the “Submit” button can tuck it behind the keyboard.
Field zoom is another great reason to top-align input field labels in forms. As you can see on Google’s registration form (screenshot below), left-aligned labels disappear when input fields are expanded to fill the screen. With no visible label, the user can easily forget what question they have to answer. Long input fields also suffer a bit with field zoom.

Mobile browsers that don’t have field zoom also run into issues with left- and right-aligned input field labels. Anyone using such a form on Google’s Android OS (below) faces the problem of disappearing labels. The screen simply does not have enough room for both the input field and its corresponding label. Top-aligned labels avoid this issue.

Some mobile Web browsers recognize specific input types (part of the developing HTML5 standard) and adjust their input modes accordingly. For example, specifying an input of the type url brings up a virtual alphanumeric keyboard with “.”, “/”, and “.com” keys. Specifying an input of the type email brings up a virtual alphanumeric keyboard with “.” and “@” keys. Specifying an input of the type number brings up a virtual numeric keyboard.
These input-specific keyboards make entering the particular type of data required by each input field much easier. Even browsers without virtual keyboards benefit from the use of number, because users would not have to switch to number mode to enter numeric data.

Most password input fields in forms instantly obscure all characters that a user enters to keep sensitive information hidden from prying eyes. Automatic masking of passwords may provide the appearance of security, but it can also create usability issues when people are left staring at a row of bullets that they hope (but can’t verify) is their password.
Many mobile devices address this issue by displaying the most recent character the user has entered, and then obscuring that character as a bullet only after a brief delay. This technique has made its way onto the desktop, as illustrated in this password-masking solution from ZURB.
Drop-down select menus are one of the hardest input types to use. First, you have to click on the menu to open it. Then, you have to maneuver through a potentially long list of small targets. Once you find the value you want, you need position your cursor on the right target and select it. To top it off, many implementations of drop-down menus on the Web require you to keep your cursor on the menu while navigating the list, or else the menu closes!
Even dexterous users often miss them and need to start over. Couple this interactive challenge with the small screens of mobile devices and the need for a different solution for select menus becomes quite obvious.
For drop-down select menus on Web forms, Apple’s iPhone presents users with a pop-up menu control. This control displays the options in the menu in a contained list that can be scrolled at various speeds though drag, nudge and flick gestures. The large touch targets also make it easy to select the right value once you’ve found it.

Similarly, Google’s Android provides a larger touch target for select menu options. When the user taps a drop-down select menu on an Android device, a scrollable list of menu options appears in a dialog window over the Web page.

Pop-up menu controls can be applied to compound inputs as well. So, instead of requiring three separate input fields for the month, day and year of a requested date, one date field can bring up a set of pop-up menus that allow people to scroll through three lists at once to find the right date. This approach can be applied to other kinds of compound inputs as well, such as height in feet and inches.

Google’s Android has a compound input field solution, though it makes use of visible interface elements to move through a list instead of relying on gesture-based scrolling alone.

In addition to having compound menu controls, most mobile operating systems have several other custom input controls available to application developers. Sliders, split buttons, rating widgets and scrubbers are just a few of the components worth considering in place of standard form controls to make inputting easier for users.

Because people like to hold mobile devices both horizontally and vertically in their hands, mobile forms should adjust accordingly to take advantage of the changing screen space. The compose email form on Google’s Android does just that.

When held vertically, the screen shows three input fields with several action buttons. In the horizontal position, the email body input takes over the screen, and one action button is shown on the right. This layout maximizes the screen space available for the message content.
Google’s Nexus One phone allows people to use voice input for any text field in an application. Users can swipe the virtual keyboard to switch the phone to audio input mode, or they can use the microphone button. The video below demonstrates both of these options in action. With effective voice input, typing any characters into the mobile device becomes a thing of the past.
Mobile is growing exceptionally fast, and as more designers and developers focus on the space, we’ll hopefully see even further innovation in mobile forms. After all, anything that makes inputting (both on mobile and desktop devices) faster and easier will do a lot of good for both companies and their customers.
Luke Wroblewski is an internationally recognized digital product design leader and the author of two popular Web design books. You can follow Luke on Twitter @lukewdesign or by using RSS.
Smashing Magazine readers can get a special 20% off discount on Luke’s latest book: Web Form Design Filling in the Blanks. Just use discount code MIX to order.
(al)
© Luke Wroblewski for Smashing Magazine, 2010. | Permalink | 13 comments | Add to del.icio.us | Digg this | Stumble on StumbleUpon! | Tweet it! | Submit to Reddit | Forum Smashing Magazine
Post tags: mobile
This blog delivers stylish and dynamic news for designers and web-developers on all subjects of design, ranging from: CSS, Ajax, Javascript, web design, graphics, typography, advertising & much more. Our goal is to help you communicate effectively on the web with an engaging website or functional interface.
Copyright © 2007 - Programming Blog - is proudly powered by WordPress | Log in
Compositio Theme is created by: Design Disease brought to you by PremiumThemes.com
6 Responses to Forms On Mobile Devices: Modern Solutions
Ricky B
March 16th, 2010 at 7:06 am
Hi,
Current 3G iphone packages,
Voice plan for 39.99(450 anytime mins), 59.99 (900 mins), 79.99(1350 mins) or 99.99(unlimited). Depands on how many minutes you need.
So you can make your combination.
Data package will start from $30.00 (unlimited email and internet) for personal emails. And $45.00 for Corporate emails and internet.
And text msg package will be
$5.00 – 200 text msgs
$15.00 – 1500 text msgs
$20.00 – unlimited msgs
So you choose personal or corporate email data package and IF you want text msgs then you can add text msg on it.
===
WiFi is free always which you can use at home or any wifi locations. Speed of WiFi is same as 3G.
If you have dataplan of $30.00 then you can have free youtube, facebook and all other applications.
I work for ATT.
MarnenLK
March 17th, 2010 at 1:31 pm
PC means a Windows computer. If you're running Vista, you're using a PC.
Safari has a "pop blockup windows" feature that could be interfering with Yahoo. Microsoft Internet Explorer might have a similar feature. That could explain your problems with logging in.
Try Mozilla's Firefox browser. It tends to be more stable than Explorer and more versatile than Safari for accessing web sites geared more for PCs than Macs.
Jason Doner Van
March 18th, 2010 at 10:55 pm
there are literally hundreds of apps & games for windows mobile devices. look for stuff with a .cab install file, google is your best friend.
Qextor
March 26th, 2010 at 8:53 pm
You can always sell your home on at auction on eBay, or Craigslist. You can set a minimum price (the least you can afford to sell it for) and specify the owner is responsible for renting the space it's in.
I don't think raffles are regulated; you can sell tickets for say $2-$5 each, and then give the trailer to whoever's ticket gets picked. Only trouble is if you don't get enough tickets sold, you still have to award the prize.
Also make sur that giving away the home means they can't come after you for any rent arrears.
organizeyourbiz
March 28th, 2010 at 8:24 pm
No. Because the owner of the space will put a lien on their mobile home making it difficult to sell. If they cannot afford 1100 a month how can they afford to buy a house?
David M
May 4th, 2010 at 5:40 am
No the viewing area will be about 3mm (1/8") all round smaller than 10" X 8" this lip is necessary to hold the 10" X 8" glass in the frame.
Better quality frames have a matte that keeps the picture away from the glass to stop it sticking to the glass over time. The aperture in these is also needs to be smaller than 10" X 8" paper size to hold the print in place.
This is why 10" X 8" prints usually have white a border.
Chris