SlideShare a Scribd company logo
1 of 37
Download to read offline
Forms
What are the
best practices?
How can you
improve today?!
How do
you nail
Forms?
Image Credit: https://www.flickr.
com/photos/russell_darnell/5547532092
Every page in
commerce is
trying to
convert.
+Ido Green
@greenido
ido-green.appspot.com
Forms
in
General
How
Design efficient
form
eCommerce
Autofill rocks!
Next
Gold Elements!
How?!
Take
advantage of
the device
● Use existing data to
pre-populate fields
● Ensure forms are
auto-fillable by
browsers
● Show users how far
along they are
● Don’t break the
“back” button
Provide visual
calendars when
selecting dates
How to
choose
the best
input
type?
HTML5 input types
url emailTel
More types: https://goo.gl/Hg7HOO
Offer suggestions during input with datalist
Live example: https://goo.gl/RdwFhd
<label for="frmFavChocolate">Type of Chocolate</label>
<input type="text" name="fav-choc" id="frmChocolate"
list="chocType">
<datalist id="chocType">
<option value="white">
<option value="milk">
<option value="dark">
</datalist>
(!) The datalist values are provided as suggestions. Users are not restricted to the suggestions provided.
HTML5 input types
url emailTel
More types: https://goo.gl/Hg7HOO
Optimize text
entry
Let the
browser help
you on-board
users
Dropdowns Should be the UI of Last Resort
Luke Wroblewski - http://goo.gl/7ZmQ4J
Better password form fields
More: https://aerotwist.com/blog/better-password-form-fields/
Label and Name Inputs
More: https://goo.gl/TqLAh2
● Use labels on form
inputs, and make them
visible.
● Use placeholders to
provide guidance.
<label for="frmAddressS">Address</label>
<input type="text" name="ship-address"
required id="frmAddressS"
placeholder="123 Any Street"
autocomplete="shipping street-address">
Label and Name Inputs
More: https://goo.gl/TqLAh2
Leverage the browser’s ability to
auto-complete the form
a. Use established name's for
elements
b. Include the
autocomplete attribute.
Provide real-time validation
Leverage the browser's built-in validation attributes like:
● pattern - <input type="text" pattern="^d{5,6}(?:[-s]d{4})?$" ...>
● required - <input type="text" required pattern= "^...$" ...>
● min / max - <input type="number" min="1" max="13" step="0.5" ...>
More: https://goo.gl/f8N29E
Provide real-time validation
● Use JavaScript and the
Constraints Validation API
for complex validation.
● manage focus when
validation fails.
● Autocorrect when you can!
Provide real-time validation
● Show validation errors in
real time: bit.ly/form-
validation
● If the user tries to submit
an invalid form, show all
fields they need to fix.
eCommerce
Google Confidential and Proprietary
86%
spent in apps
14%
spent in the
browser
Smartphone users spend most of their time in apps
Google Confidential and ProprietarySource: Flurry 2014
Google Confidential and Proprietary
94%
of users look to
take commercial
action via the
mobile web
Reach more users looking to spend money
Source: Google/Ipsos 2014 Google Confidential and Proprietary
use
autocomplete
types
30% increase in form fill speed
when using Autofill
(*Chrome usage data)
Optimize for
Autofill
More: https://goo.gl/CGzH9g
4x Increase
in
conversion
66-93% of
Mobile
Commerce
Mobile
Optimized
sites
*Flurry & Business Insider *Forbes - goo.gl/pIbSlz
Forms are the ‘gatekeeper’ for anything (=signup, payment, information etc’)
The Future?!
Web
Components
Web Components - Save you leg work!
● Custom elements can bake in best practices, cutting down
on boilerplate and missed opportunities
● Polymer has built a dedicated set of ECommerce
elements, a.k.a. “Gold Elements” which you can use in
any application
● Live Example
github.com/notwaldorf/polymer-gold-elements-demo
<gold-cc-input name=”cc”></gold-cc-input>
<label for="frmCCNum">Card Number</label>
<input name="cc" id="frmCCNum"
autocomplete="cc-number">
Functionally
equivalent
<gold-cc-input name=”cc” error-message=”Try again” auto-validate></gold-cc-input>
● Built-in support for auto-fill
● Auto-validation attributes
● Display card types
● Custom error messages
Resources
25 Principles
goo.gl/5MbvDK
Resources
bit.ly/pagespeedinsights
bit.ly/mobilefriendlytest
developers.google.com/web/
Ido Green
@greenido
+GreenIdo
ido-green.appspot.com
Thank
you!

More Related Content

Similar to Web forms the right way

Google Analytics and Website Optimizer
Google Analytics and Website OptimizerGoogle Analytics and Website Optimizer
Google Analytics and Website OptimizerSimon Whatley
 
BlueSnap Digital Summit 2019 Seattle
BlueSnap Digital Summit 2019 SeattleBlueSnap Digital Summit 2019 Seattle
BlueSnap Digital Summit 2019 SeattleKimberly Rowell
 
How To Mesure And Optimise Your Roi Using Web Analytics Google
How To Mesure And Optimise Your Roi Using Web Analytics GoogleHow To Mesure And Optimise Your Roi Using Web Analytics Google
How To Mesure And Optimise Your Roi Using Web Analytics Google2tique
 
LA2M Google Tools Presentation Apr 1st 09
LA2M Google Tools Presentation Apr 1st 09LA2M Google Tools Presentation Apr 1st 09
LA2M Google Tools Presentation Apr 1st 09oneilldec
 
BrightonSEO - Understanding Your Customers with Google Analytics
BrightonSEO - Understanding Your Customers with Google AnalyticsBrightonSEO - Understanding Your Customers with Google Analytics
BrightonSEO - Understanding Your Customers with Google AnalyticsDan Peden
 
Track Report & Optimize Your Web Creations
Track Report & Optimize Your Web CreationsTrack Report & Optimize Your Web Creations
Track Report & Optimize Your Web CreationsEmpirical Path
 
Top 20 Search Engine Marketging Tools
Top 20 Search Engine Marketging ToolsTop 20 Search Engine Marketging Tools
Top 20 Search Engine Marketging ToolsTwentySix2 Marketing
 
Basic Web + Social Media Metrics: Non eCommerce Sites
Basic Web + Social Media Metrics: Non eCommerce SitesBasic Web + Social Media Metrics: Non eCommerce Sites
Basic Web + Social Media Metrics: Non eCommerce SitesLaura Lee Dooley
 
Toolkits and tips of the conversion pros v 1.6
Toolkits and tips of the conversion pros v 1.6Toolkits and tips of the conversion pros v 1.6
Toolkits and tips of the conversion pros v 1.6Craig Sullivan
 
What Metrics Really Matter? - PRSA Sunshine District Conference 2012
What Metrics Really Matter? - PRSA Sunshine District Conference 2012What Metrics Really Matter? - PRSA Sunshine District Conference 2012
What Metrics Really Matter? - PRSA Sunshine District Conference 2012Caitlin Jeansonne
 
Undestanding Google Analytic
Undestanding Google AnalyticUndestanding Google Analytic
Undestanding Google AnalyticKoim Liddinilah
 
6 effective e commerce conversion strategies
6 effective e commerce conversion strategies6 effective e commerce conversion strategies
6 effective e commerce conversion strategiesNguyen Thi Anh Thu
 
6 Effective e-Commerce Conversion Strategies
6 Effective e-Commerce Conversion Strategies6 Effective e-Commerce Conversion Strategies
6 Effective e-Commerce Conversion StrategiesGetfly CRM
 
6 effective e commerce conversion strategies
6 effective e commerce conversion strategies6 effective e commerce conversion strategies
6 effective e commerce conversion strategiesTrần Hương Giang
 
3 th mobile leadership program mobile assets
3 th mobile leadership program   mobile assets3 th mobile leadership program   mobile assets
3 th mobile leadership program mobile assetsRein Mahatma
 
Is Your Website Ready for Business?
Is Your Website Ready for Business?Is Your Website Ready for Business?
Is Your Website Ready for Business?Roger Coryell
 
taking_your_analytics_data_-shuman_ghosemajumder.ppt
taking_your_analytics_data_-shuman_ghosemajumder.ppttaking_your_analytics_data_-shuman_ghosemajumder.ppt
taking_your_analytics_data_-shuman_ghosemajumder.pptzachbrowne
 
Score google analytics
Score   google analyticsScore   google analytics
Score google analyticsHotTopics114
 
Google Analytics : Overview & Basic Customization for Retirement Communities
Google Analytics : Overview & Basic Customization for Retirement CommunitiesGoogle Analytics : Overview & Basic Customization for Retirement Communities
Google Analytics : Overview & Basic Customization for Retirement CommunitiesOur Kids Media
 
Google Analytics : Overview & Customization
Google Analytics : Overview & CustomizationGoogle Analytics : Overview & Customization
Google Analytics : Overview & CustomizationOur Kids Media
 

Similar to Web forms the right way (20)

Google Analytics and Website Optimizer
Google Analytics and Website OptimizerGoogle Analytics and Website Optimizer
Google Analytics and Website Optimizer
 
BlueSnap Digital Summit 2019 Seattle
BlueSnap Digital Summit 2019 SeattleBlueSnap Digital Summit 2019 Seattle
BlueSnap Digital Summit 2019 Seattle
 
How To Mesure And Optimise Your Roi Using Web Analytics Google
How To Mesure And Optimise Your Roi Using Web Analytics GoogleHow To Mesure And Optimise Your Roi Using Web Analytics Google
How To Mesure And Optimise Your Roi Using Web Analytics Google
 
LA2M Google Tools Presentation Apr 1st 09
LA2M Google Tools Presentation Apr 1st 09LA2M Google Tools Presentation Apr 1st 09
LA2M Google Tools Presentation Apr 1st 09
 
BrightonSEO - Understanding Your Customers with Google Analytics
BrightonSEO - Understanding Your Customers with Google AnalyticsBrightonSEO - Understanding Your Customers with Google Analytics
BrightonSEO - Understanding Your Customers with Google Analytics
 
Track Report & Optimize Your Web Creations
Track Report & Optimize Your Web CreationsTrack Report & Optimize Your Web Creations
Track Report & Optimize Your Web Creations
 
Top 20 Search Engine Marketging Tools
Top 20 Search Engine Marketging ToolsTop 20 Search Engine Marketging Tools
Top 20 Search Engine Marketging Tools
 
Basic Web + Social Media Metrics: Non eCommerce Sites
Basic Web + Social Media Metrics: Non eCommerce SitesBasic Web + Social Media Metrics: Non eCommerce Sites
Basic Web + Social Media Metrics: Non eCommerce Sites
 
Toolkits and tips of the conversion pros v 1.6
Toolkits and tips of the conversion pros v 1.6Toolkits and tips of the conversion pros v 1.6
Toolkits and tips of the conversion pros v 1.6
 
What Metrics Really Matter? - PRSA Sunshine District Conference 2012
What Metrics Really Matter? - PRSA Sunshine District Conference 2012What Metrics Really Matter? - PRSA Sunshine District Conference 2012
What Metrics Really Matter? - PRSA Sunshine District Conference 2012
 
Undestanding Google Analytic
Undestanding Google AnalyticUndestanding Google Analytic
Undestanding Google Analytic
 
6 effective e commerce conversion strategies
6 effective e commerce conversion strategies6 effective e commerce conversion strategies
6 effective e commerce conversion strategies
 
6 Effective e-Commerce Conversion Strategies
6 Effective e-Commerce Conversion Strategies6 Effective e-Commerce Conversion Strategies
6 Effective e-Commerce Conversion Strategies
 
6 effective e commerce conversion strategies
6 effective e commerce conversion strategies6 effective e commerce conversion strategies
6 effective e commerce conversion strategies
 
3 th mobile leadership program mobile assets
3 th mobile leadership program   mobile assets3 th mobile leadership program   mobile assets
3 th mobile leadership program mobile assets
 
Is Your Website Ready for Business?
Is Your Website Ready for Business?Is Your Website Ready for Business?
Is Your Website Ready for Business?
 
taking_your_analytics_data_-shuman_ghosemajumder.ppt
taking_your_analytics_data_-shuman_ghosemajumder.ppttaking_your_analytics_data_-shuman_ghosemajumder.ppt
taking_your_analytics_data_-shuman_ghosemajumder.ppt
 
Score google analytics
Score   google analyticsScore   google analytics
Score google analytics
 
Google Analytics : Overview & Basic Customization for Retirement Communities
Google Analytics : Overview & Basic Customization for Retirement CommunitiesGoogle Analytics : Overview & Basic Customization for Retirement Communities
Google Analytics : Overview & Basic Customization for Retirement Communities
 
Google Analytics : Overview & Customization
Google Analytics : Overview & CustomizationGoogle Analytics : Overview & Customization
Google Analytics : Overview & Customization
 

Recently uploaded

Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...stazi3110
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio, Inc.
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxTier1 app
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - InfographicHr365.us smith
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEOrtus Solutions, Corp
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaHanief Utama
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...gurkirankumar98700
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024StefanoLambiase
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfAlina Yurenko
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmSujith Sukumaran
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfPower Karaoke
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样umasea
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesPhilip Schwarz
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...Christina Lin
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 

Recently uploaded (20)

Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - Infographic
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief Utama
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalm
 
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort ServiceHot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdf
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a series
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 

Web forms the right way