xoops forums

mrgym

Just popping in
Posted on: 2003/11/4 20:43
mrgym
mrgym (Show more)
Just popping in
Posts: 28
Since: 2002/4/26
#1

XoopsFormSelect->render( ) <option SELECTED>, not selected='selected' ?

very useful XOOPS forms classes!

The "selected='selected'" output doesn't work in the most recent version of mozilla, but DOES work in IE and Opera.


w3c.org's html 4.01 spec section 17.6.1 says that this output should be;

<option selected> OR
<option SELECTED>

Mithrandir

XOOPS is my life!
Posted on: 2003/11/4 22:32
Mithrandir
Mithrandir (Show more)
XOOPS is my life!
Posts: 6320
Since: 2003/6/21
#2

Re: XoopsFormSelect->render( ) <option SELECTED>, not selected='selected' ?

haven't noticed anything with my module, which uses the XoopsThemeForm, and Mozilla, my preferred browser.

But a good point with following w3c.org standars.

Btw. Post #200 from me... I need a life

skalpa

Quite a regular
Posted on: 2003/11/5 2:06
skalpa
skalpa (Show more)
Quite a regular
Posts: 300
Since: 2003/4/16
#3

Re: XoopsFormSelect->render( ) <option SELECTED>, not selected='selected' ?

You're right ...

Thanks, I've just been changed that in CVS (and also multiple='multiple' at the same time ).

Skalpa.>

mrgym

Just popping in
Posted on: 2003/11/5 13:52
mrgym
mrgym (Show more)
Just popping in
Posts: 28
Since: 2002/4/26
#4

Re: XoopsFormSelect->render( ) <option SELECTED>, not selected='selected' ?

MithyT2 on the topic of your many posts, you have always been a big help to me! I hope to make the same contribution.

Mithrandir

XOOPS is my life!
Posted on: 2003/11/5 14:16
Mithrandir
Mithrandir (Show more)
XOOPS is my life!
Posts: 6320
Since: 2003/6/21
#5

Re: XoopsFormSelect->render( ) <option SELECTED>, not selected='selected' ?

And I don't really know that much (at least, I feel that )

Writing a module and going in steps from just plain old php pages encapsulated in XOOPS headers and footers to using core functions such as XoopsForm to using Object Oriented programming to using SMARTY templates... it does give you some insight in XOOPS - but I learn new things every day

Just keep it up and keep asking questions (although it is appreciated to try at least some things like turning on debugging and responding to the error messages - it's a bitch reading questions, which could be resolved by a look in the error message and a small edit. It's equally annoying to read a question, make some thoughts and tests just to find a "SOLVED" post 2 hours later by the same person )