{"issue":{"created_at":"2011-11-29T18:01:20Z","state":"open","updated_at":"2011-11-29T18:01:26Z","comments":5,"user":{"gravatar_id":"256406243346b9253f8610fb1d1e05f6","id":1215373,"url":"https://api.github.com/users/importer","avatar_url":"https://secure.gravatar.com/avatar/256406243346b9253f8610fb1d1e05f6?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"importer"},"body":"Hallo erstmal,\nwenn man mehrspaltige Formulare erstellt, ist es sinnvoll einen \"tabindex\" anzugeben.\nWenn im Frontend die TAB-Taste fürs Springen von Feld zu Feld benützt wird, geht das nach der Reihenfolge im Quellcode.\nDas ist vorallem wichtig wenn man längere Formulare hat.\n\nBeispiel:\nOhne die Angabe von \"tabindex\" würde man von \"Vorname\" zu \"Firma\" und dann erst zu \"Nachname\" springen.\n\n`<div class=\"c50l\">\n<label for=\"ctrl_27\" class=\"left mandatory\">vorname</label> \n  <input type=\"text\" name=\"vorname\" id=\"ctrl_27\" class=\"text left mandatory\" value=\"\" **tabindex=\"1\"**/><br />\n<label for=\"ctrl_29\" class=\"left mandatory\">Firma</label> \n  <input type=\"text\" name=\"firma\" id=\"ctrl_29\" class=\"text left mandatory\" value=\"\" **tabindex=\"3\"**/><br />\n  ...\n  ...\n</div>\n\n<div class=\"c50r\">\n<label for=\"ctrl_28\">Nachname</label> \n  <input type=\"text\" name=\"nachname\" id=\"ctrl_28\" class=\"text\" value=\"\" **tabindex=\"2\"** /><br />\n  ...\n  ...\n</div>\n`\n\ngreetz Vincent\n\n[Download the attachments](http://www.contao.org/tl_files/tickets/1505.zip \"Download the attachments of this ticket\")\n\n--- _Originally created by vega on February 5th, 2010, at 04:29am (ID 1505)_","assignee":{"gravatar_id":"87d2e5aefadcb310f9155df28c2b3582","id":1192057,"url":"https://api.github.com/users/leofeyer","avatar_url":"https://secure.gravatar.com/avatar/87d2e5aefadcb310f9155df28c2b3582?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"leofeyer"},"id":2389043,"number":1505,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"labels":[{"name":"Feature","color":"4183c4","url":"https://api.github.com/repos/contao/import/labels/Feature"},{"name":"framework","color":"e6e6e6","url":"https://api.github.com/repos/contao/import/labels/framework"}],"title":"Tabindex für (mehrspaltige) Formulare","closed_at":null,"html_url":"https://github.com/contao/import/issues/1505","url":"https://api.github.com/repos/contao/import/issues/1505","milestone":{"created_at":"2011-11-29T15:29:59Z","state":"open","due_on":null,"closed_issues":0,"creator":{"gravatar_id":"87d2e5aefadcb310f9155df28c2b3582","id":1192057,"url":"https://api.github.com/users/leofeyer","avatar_url":"https://secure.gravatar.com/avatar/87d2e5aefadcb310f9155df28c2b3582?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"leofeyer"},"number":37,"description":"Contao 2.11.0 (minor release)","title":"2.11.0","url":"https://api.github.com/repos/contao/import/milestones/37","open_issues":3}},"action":"created","comment":{"created_at":"2011-11-29T18:01:24Z","updated_at":"2011-11-29T18:01:24Z","user":{"gravatar_id":"256406243346b9253f8610fb1d1e05f6","id":1215373,"url":"https://api.github.com/users/importer","avatar_url":"https://secure.gravatar.com/avatar/256406243346b9253f8610fb1d1e05f6?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"importer"},"body":"> Das muss aber unbedingt eine Sache sein, die man einstellen kann, aber nicht muss. Bei einem gut aufgebauten Formular kann der Tabindex auch hinderlich sein. Als **optionale Einstellungsmöglichkeit** ist es aber in Ordnung.\n\nSeh ich genau so. Immer wird es nicht gebraucht aber es ist doch manchmal wirklich sinnvoll. (->daher **optionale Einstellungsmöglichkeit**) ;-)\n\n--- _Originally created by vega on February 19th, 2010, at 12:49pm_","id":2938798,"url":"https://api.github.com/repos/contao/import/issues/comments/2938798"}}