[PHP] Tabs + SELECTED
An interesting problem has surfaced while finishing the coding for an input form. The usual text inputs fields are in place for first name, surname, address etc. However, I've created a drop-down list for state and country. Since these drop-down lists have OPTION SELECTEDIn USA/Canada , tabbing in the form jumps over these drop-downs [simply becuase they're filled]. I would like them to be included in the tabbing. Originally I used tabindex to control the flow over optional fields. I deleted the tabindex since the behavior of the form was erratic and non-logical in flow. Any ideas on how to circumvent the default behavior of OPTION SELECTEDblah, blah , blah? Any assistance will be greatly appreciated, Tia, Andre -- Please pray the Holy Rosary to end the holocaust of abortion. Remember in your prayers the Holy Souls in Purgatory. May God bless you abundantly in His love! For a free Cenacle Scriptural Rosary Booklet: http://www.webhart.net/csrb/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Tabs + SELECTED
On Thursday, April 18, 2002, at 12:33 PM, Andre Dubuc wrote: Since these drop-down lists have OPTION SELECTEDIn USA/Canada , tabbing in the form jumps over these drop-downs [simply becuase they're filled]. I would like them to be included in the tabbing. Originally I used tabindex to control the flow over optional fields. I deleted the tabindex since the behavior of the form was erratic and non-logical in flow. Any ideas on how to circumvent the default behavior of OPTION SELECTEDblah, blah , blah? To the best of my knowledge, this action is out of your control, at least from the perspective of a PHP coder. It's the way the browser handles user input, and nothing your PHP script on the server can do will override this. In my browsers, Mozilla 0.9.9 Mac and IE5.1Mac, I don't get this behavior even when there is a SELECTED option. Although, I use the form option selected=yesblah blah/option. Try your code using this style, which incidentally is XHTML compliant, and maybe your browser will respond differently. Or perhaps there is some JavaScript technique that can help you, if you decide to go this route then you will want to investigate the *focus-related attributes. Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Tabs + SELECTED
On Thursday 18 April 2002 02:31 pm, you wrote: On Thursday, April 18, 2002, at 12:33 PM, Andre Dubuc wrote: Since these drop-down lists have OPTION SELECTEDIn USA/Canada , tabbing in the form jumps over these drop-downs [simply becuase they're filled]. I would like them to be included in the tabbing. Originally I used tabindex to control the flow over optional fields. I deleted the tabindex since the behavior of the form was erratic and non-logical in flow. Any ideas on how to circumvent the default behavior of OPTION SELECTEDblah, blah , blah? To the best of my knowledge, this action is out of your control, at least from the perspective of a PHP coder. It's the way the browser handles user input, and nothing your PHP script on the server can do will override this. In my browsers, Mozilla 0.9.9 Mac and IE5.1Mac, I don't get this behavior even when there is a SELECTED option. Although, I use the form option selected=yesblah blah/option. Try your code using this style, which incidentally is XHTML compliant, and maybe your browser will respond differently. Or perhaps there is some JavaScript technique that can help you, if you decide to go this route then you will want to investigate the *focus-related attributes. Erik Erik Price Web Developer Temp Media Lab, H.H. Brown [EMAIL PROTECTED] Thanks Eric, That did the trick! The tabs work in drop-downs now. Btw, I'm using Konqueror with LM 8.2. It seems to have some quirks in it. Mozilla Galeon however don't seem to like my CSS stylesheet colors -- I'll have to figure that one out later. Regards, Andre -- Please pray the Holy Rosary to end the holocaust of abortion. Remember in your prayers the Holy Souls in Purgatory. May God bless you abundantly in His love! For a free Cenacle Scriptural Rosary Booklet: http://www.webhart.net/csrb/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php