Top Banner
Institutional Web Management Workshop 2008: The Great Debate Coping with Forms: Implementing a Web Form Management Application Dan Jackson, City University
26

Coping with Forms: Implementing a Web Form Management Application, Dan Jackson, City University

May 06, 2015

Download

Technology

IWMW

Parallel Session on Coping with Forms: Implementing a Web Form Management Application
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Coping with Forms: Implementing a Web Form Management Application, Dan Jackson, City University

Institutional Web Management Workshop 2008: The Great DebateCoping with Forms: Implementing a Web Form Management Application

Dan Jackson, City University

Page 2: Coping with Forms: Implementing a Web Form Management Application, Dan Jackson, City University

“FORMS SUCK.WE SHOULD ACT ACCORDINGLY.”‘Web Form Design: Filling in the Blanks’, Luke Wroblewski, Rosenfeld Media, 2008

Page 3: Coping with Forms: Implementing a Web Form Management Application, Dan Jackson, City University

...can’t we do better?

Page 4: Coping with Forms: Implementing a Web Form Management Application, Dan Jackson, City University

What about forms?

Page 5: Coping with Forms: Implementing a Web Form Management Application, Dan Jackson, City University

Improving your forms CAN make a difference.

Jared Spool. One form.- Increased the number of customers making purchases by 45%.- Boosted revenue by $300m over the first year.

Page 6: Coping with Forms: Implementing a Web Form Management Application, Dan Jackson, City University

Forms can have a BIG impact, both positive & negative.

We need to pay more attention to how we develop and manage our forms.

Page 7: Coping with Forms: Implementing a Web Form Management Application, Dan Jackson, City University

Problems:There are lots of forms.Form development is time-consuming.Form development is difficult.Sometimes our clients aren’t sure what they want!

Problems:There are lots of forms.Form development is time-consuming.Form development is difficult.Sometimes our clients aren’t sure what they want!

http://www.flickr.com/photos/b-tal/163450213/

Page 8: Coping with Forms: Implementing a Web Form Management Application, Dan Jackson, City University

Let’s think about....1.SecurityWhat measures do you employ to secure your forms? Are you aware of any vulnerable forms on your website?

2.SPAMWhat, if any, measures do you take to prevent spam? What problems with CAPTCHA are you aware of?

3.Accessibility, Usability, DesignWhat annoys you most about bad forms? What makes a form easy to use?

1.LegalWhat are the legal issues we need to be aware of when developing forms?

•‘The Process’What political / institutional issues prevent a smooth development process?What, if any, workflows do you have in place to manage form development?

Page 9: Coping with Forms: Implementing a Web Form Management Application, Dan Jackson, City University

Security problemsIt’s EASY to make an insecure form, & there are LOTS of vulnerabilities out there.

Reproduced with permission of WASC, http://www.webappsec.org/projects/statistics/

Page 10: Coping with Forms: Implementing a Web Form Management Application, Dan Jackson, City University

Security strategies

Don’t assume that… …you can trust your users.…client-side (JavaScript) validation is enough. …hackers will test for vulnerabilities using a browser.

Validate data.Both on the client-side AND server-side.

Use a white-list approach to data filtering.Assume that all received data is invalid until it can be proven valid.

Educate yourselves about vulnerabilities.

Page 11: Coping with Forms: Implementing a Web Form Management Application, Dan Jackson, City University

Security strategies

Scan your existing forms.

Test forms for vulnerabilities while in development.

Employ a reusable library or framework of server-side code.

Build security into your development lifecycle.

Page 12: Coping with Forms: Implementing a Web Form Management Application, Dan Jackson, City University

Spam: the CAPTCHA conundrum

Most people use CAPTCHA to prevent spam. BUT...

CAPTCHA is notoriously inaccessible.CAPTCHA can be circumvented.CAPTCHA has been discredited.

“Just like DRM, CAPTCHA systems ultimately fail to protect against the original threat, while simultaneously inconveniencing ordinary users.” ‘Beyond CAPTCHA: No Bots Allowed!’, http://www.sitepoint.com/article/captcha-problems-alternatives, viewed 04/07/08)

Page 13: Coping with Forms: Implementing a Web Form Management Application, Dan Jackson, City University

Spam strategies

1. Authentication.

2. Centralised sign-on.

3. Sessions.

4. Spam filtering & heuristic testing.

Page 14: Coping with Forms: Implementing a Web Form Management Application, Dan Jackson, City University

Accessibility, Usability, Design problems

Forms are often long, confusing, badly designed AND painful to complete.

There are LOTS of design questions to tackle.How should I chunk up my form? What are the right field types to use?Where do I place my input field labels? Should I provide field hints? Where do I place primary & secondary actions? Where do I place error messages?

Page 15: Coping with Forms: Implementing a Web Form Management Application, Dan Jackson, City University

Accessibility, Usability, Design strategies

You Must Buy This Book. Web Form Design: Filling in the BlanksLuke Wroblewski; Rosenfeld Media, 2008.

Page 16: Coping with Forms: Implementing a Web Form Management Application, Dan Jackson, City University

Accessibility, Usability, Design strategies

Forms should be:ClearIs the purpose of the form obvious? Are the labels helpful? Are error messages clear?Is the layout good? etc.

Concise ‘Do we really need to ask this question?’

Clever Help direct users around the form; skip irrelevant questions.

Contextual Tell users why certain questions are asked, especially when you’re asking for personal data.

http://formulate.com.au/articles/what-makes-a-good-form/, visited 15/07/08

Page 17: Coping with Forms: Implementing a Web Form Management Application, Dan Jackson, City University

Accessibility, Usability, Design strategies

Be nice!

Use natural language. Try to organise your form as a conversation rather than an interrogation.

Design from the ‘outside in’, not ‘inside out’. Forms shouldn’t be a simple mirror of the fields in our database records; we need to look at our forms from the perspective of our users.

Don’t construct unnecessary barriers. If a student wants a prospectus, why make her register?

http://www.flickr.com/photos/martigras/2383422487/

Page 18: Coping with Forms: Implementing a Web Form Management Application, Dan Jackson, City University

Accessibility, Usability, Design strategies

Visual Clarity

Visual path to completion. Make your forms easily scannable.

Fieldsets are your friend.Organising your forms into logical groups aids scanning & completion.

Communicate error & success messages clearly.

Hide irrelevant form controls.

Figure 3.4 from Web Form Design: Filling in the Blanks by Luke Wroblewski; Rosenfeld Media, 2008. http://www.rosenfeldmedia.com/books/webforms/

Page 19: Coping with Forms: Implementing a Web Form Management Application, Dan Jackson, City University

Accessibility, Usability, Design strategies

Coding

Careful with that JavaScript.DO use for data validation, enhancing the user experience, providing users with information.DON’T make the completion or submission of a form dependent on JavaScript.

Test your forms as you would a site redesign. Think about bug fixing, site analytics, usability testing.

Centralise your code.Maintain a central repository of reusable form components.Accessible XHTML templates/snippets, CSS, JavaScript, server-side functions.

Page 20: Coping with Forms: Implementing a Web Form Management Application, Dan Jackson, City University

Legal problems

Data Protection.Data Protection Act 1998 governs the protection of personal data.

PECR.Privacy and Electronic Communications Regulations.Unsolicited marketing material by electronic mail (includes email, text and messaging) should only be sent if the individual has consented to receive them.

Page 21: Coping with Forms: Implementing a Web Form Management Application, Dan Jackson, City University

Legal strategies

Transparency is key.Tell your users what your policies are & what you plan to do with their data.Provide them with the chance to opt-in/out of mailings where relevant.

Control.Control how your form data is stored, accessed and used. Don’t store data for longer than required.

Draw up standard notices“Personal data in this form may be used only in accordance with City University’s notification under the Data Protection Act 1998 and in compliance with the Freedom of Information Act 2000. Further details in relation to the use of personal data can be found on the University’s web site www.city.ac.uk/dataprotection.Any queries concerning Data Protection and Freedom of Information should be addressed to the Head of Information Compliance and Policy.”

Get advice.

Page 22: Coping with Forms: Implementing a Web Form Management Application, Dan Jackson, City University

The Process: problems

Agreeing on the contents of a form can be difficult.Everyone wants a say (marketing, technical, legal, departmental, etc).

“What’s this form for?”It can be hard to establish what the organisational goals of the form are. Why is this form needed? What information do we need?

http://www.flickr.com/photos/colbycosh/2266583598

Page 23: Coping with Forms: Implementing a Web Form Management Application, Dan Jackson, City University

The Process: strategies

1. What’s the competition up to?For important forms, a web convention survey can help kick-start the scoping process.

2. Document the information needs, & get sign-off.- Who needs what, and how? - Ensure that the form fits its purpose.

Figure 2.1 from Web Form Design: Filling in the Blanks by Luke Wroblewski; Rosenfeld Media, 2008. http://www.rosenfeldmedia.com/books/webforms/)

Page 24: Coping with Forms: Implementing a Web Form Management Application, Dan Jackson, City University

The Process: strategies cont.

3. Design / development.

4. Testing checkpoint.Security, usability, accessibility.

5. Information Compliance.

6. Manage data.

Page 25: Coping with Forms: Implementing a Web Form Management Application, Dan Jackson, City University
Page 26: Coping with Forms: Implementing a Web Form Management Application, Dan Jackson, City University

Useful linkshttp://phpsecurity.org/ch02.pdf - Essential PHP Security Chapter 2 – Forms and URLshttp://formulate.com.au/ - Formulate Information Design. Useful articles about form design.http://www.sitepoint.com/article/captcha-problems-alternatives - Excellent summary of CAPCTHA debate.http://www.lukew.com/ff/index.asp - Luke Wroblewski’s form & general usability site.