Re: QF tabbing order

From: Date: Mon, 06 Oct 2003 13:31:44 +0000
Subject: Re: QF tabbing order
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-8293@lists.php.net to get a copy of this message
Hi! Jeroen Houben wrote:
yeah I know. I would have liked to see a renderer that gives the template designer more control. I personally think the form labels, stuff like sizes, style definitions (like class= and id=, or even style="") should all be dealt with in the template They're the designer's responsibility IMHO. I guess it's not hard to get the attribute string created by quickform and assign it to template vars. The designer could then so something like: <{$form.firstname.QF_attributes} tabindex="0" class="myclass" />{$form.firstname.error} or something like that..just an idea.
The idea is quite interesting. But there are lots of complications: this 'attributes' approach will work well for <input> elements, but what about <textarea>s and <select>s? If someone could come up with a proof-of-concept implementation...

« previous php.pear.general (#8293) next »