Re: QF tabbing order

From: Date: Mon, 06 Oct 2003 08:07:18 +0000
Subject: Re: QF tabbing order
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-8284@lists.php.net to get a copy of this message
Mike Carter wrote:
-----Original Message----- From: Bertrand Mansion [mailto:bmansion@mamasam.com] <mikeatwork@ukonline.co.uk> wrote :
Hi, Is there any neat QF based way of controlling the TAB order of the elements as they are displayed? Basically some nice way to
     
manage each
elements "tabindex" attribute.
     
As you said, tabindex is an attribute. I guess you now know how to set attributes for elements in addElement().
Would be nice if QF could handle the tabindex tagging when elements are created. If I added it as an additional attribute on a per-element basis, then wanted to shuffle my form elements around in my script it would mean re-numbering them by hand (argh!) Also - if I wanted to add-in an additional form element I'd have to re-number all the existing elements which are below the new one - could be a nightmare pain In the arse on long forms! Hi Mike,
The order of elements in your PHP script may be very different from how they are finally ordered on your page. I personally think tabindex should be arranged in the template. not in PHP code. But unfortunately I don't see a way of doing that. Just my 2 cents. Jeroen

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