{"id":826,"date":"2012-01-04T12:48:31","date_gmt":"2012-01-04T12:48:31","guid":{"rendered":"https:\/\/www.hannahdee.wales\/blog\/?p=826"},"modified":"2012-01-04T12:48:31","modified_gmt":"2012-01-04T12:48:31","slug":"5-web-design-tips-thanks-to-my-new-phone","status":"publish","type":"post","link":"https:\/\/www.hannahdee.wales\/blog\/?p=826","title":{"rendered":"5 web design tips thanks to my new phone"},"content":{"rendered":"<p>I got a new phone with my xmas bounty (Thanks Mum &amp; Dad!) and it&#8217;s great. A Samsung Google Nexus S it&#8217;s an android dream with a curved screen and buckets of charisma (yes OK it&#8217;s a phone). The device itself is thus far a complete success &#8211; I <b>love<\/b> it. And it was half price in carphone whorehouse so a real bargain to boot.<\/p>\r\n<p>But &#8230; (yes, of course there&#8217;s a but) &#8230;<\/p>\r\n<p>The first thing you do with an Android device is to link it to your Google account. About half a day later I received an email inviting me to register my new phone with Samsung, including a handy  link to the registration page. Following this link took me to a page which did nothing (header, massive link-heavy footer, nothing inbetween).  Hidden away (in the extensive footer full of links), I found a <i>Register your product<\/i> link which asked for my email and my zip code. Nothing else. They&#8217;ve got a nice bit of JavaScript validating their form, and perhaps unsurprisingly, an Aberystwyth postcode wasn&#8217;t accepted as a ZIP code. <\/p>\r\n\r\n<p>Then I thought &#8220;Maybe I&#8217;m on the US site?&#8221; so I navigated to Samsung UK, found the <i>Product Registration<\/i> link (note different wording &#8211; and on the UK site, at the top right rather than the bottom left). I started to fill it in, but fall at the first hurdle. They&#8217;ve got a nice bit of JavaScript validating their form, and it doesn&#8217;t like my email hmd@hannahdee.eu. So I tried a different email, and it likes .co.uk so I filled in the other 13 compulsory form fields on the page. Only to find that on submission, it craps out due to a server error. <\/p><p>Looks like the phone&#8217;s going unregistered then&#8230;<\/p>\r\n\r\n<p>The web design tips I take from this are:<\/P>\r\n<ol>\r\n<li>If you&#8217;re sending out a link, send out the right link.<\/li>\r\n<li>If you&#8217;ve got a location-based service, estimate the user&#8217;s location, and provide a &#8220;change location&#8221; link in case it&#8217;s wrong.<\/li>\r\n<li>Don&#8217;t use JavaScript form validation for emails unless you <i>really<\/i> know what you&#8217;re doing.<\/li>\r\n<li>Don&#8217;t make form elements compulsory unless they <i>really<\/i> have to be compulsory.<\/li> \r\n<li>Don&#8217;t have server errors :-)<\/li>\r\n<\/ol>","protected":false},"excerpt":{"rendered":"<p>I got a new phone with my xmas bounty (Thanks Mum &amp; Dad!) and it&#8217;s great. A Samsung Google Nexus S it&#8217;s an android dream with a curved screen and buckets of charisma (yes OK it&#8217;s a phone). The device itself is thus far a complete success &#8211; I love it. And it was half price in carphone whorehouse so a real bargain to boot. But &#8230; (yes, of course there&#8217;s a but) &#8230; The first thing you do with an Android device is to link it to your Google account. About half a day later I received an email inviting me to register my<span class=\"more-link\"><a href=\"https:\/\/www.hannahdee.wales\/blog\/?p=826\">Read More &rarr;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["entry","author-admin","post-826","post","type-post","status-publish","format-standard","category-geekiness"],"_links":{"self":[{"href":"https:\/\/www.hannahdee.wales\/blog\/index.php?rest_route=\/wp\/v2\/posts\/826","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hannahdee.wales\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hannahdee.wales\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hannahdee.wales\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hannahdee.wales\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=826"}],"version-history":[{"count":8,"href":"https:\/\/www.hannahdee.wales\/blog\/index.php?rest_route=\/wp\/v2\/posts\/826\/revisions"}],"predecessor-version":[{"id":834,"href":"https:\/\/www.hannahdee.wales\/blog\/index.php?rest_route=\/wp\/v2\/posts\/826\/revisions\/834"}],"wp:attachment":[{"href":"https:\/\/www.hannahdee.wales\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=826"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hannahdee.wales\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=826"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hannahdee.wales\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=826"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}