By: Sergey
Date: 2004-10-28
Time: 08:35
|
Problems with selectedHi Skrol.
I've a problem with selected option. the payment variable, nomatter it's value 1 or 0, always selected the second variant where payment value = 1. What's the problem? Can you help me? Thank's in advance/
|
||
By: Skrol29
Date: 2004-10-28
Time: 10:03
|
Re: Problems with selectedHi Sergey,
I tested you piece of template and it works ok for me. I suggest that you check your variable by addin an extra tag
Is you table embeded into <form> tags? If it's not, then you maybe see the [var.payment] value displayed, and the first item stay selected. You can fix that by using <form> tags or parameter "selbounds=table" (TBS >= 2). |
||
By: Sergey
Date: 2004-10-28
Time: 10:41
|
Re: Problems with selectedYes, my table is embedeв into form. The value is 0.
but it doesn't check it anyway. |
||
By: Skrol29
Date: 2004-10-28
Time: 10:43
|
Re: Problems with selectedWhich TBS version do you have?
|
||
By: Sergey
Date: 2004-10-28
Time: 11:08
|
Re: Problems with selectedtbs 2 ce
|
||
By: peirgwnael
Date: 2004-10-28
Time: 18:41
|
Re: Problems with selectedIsn't it a question of form tag ?
To work, for me, this type of function must be enclosed between form tags.
It's perhap's something else... |
||
By: Skrol29
Date: 2004-10-28
Time: 19:13
|
Re: Problems with selectedHi Sergey,
I've tested on another PC and I had the same behavior as you. I've checked the HTML source of the result page, and the checked attribut was correctly placed on the first item when the second item was visually checked. The browser is Firefox 0.10.1. When I test on IE 6, all is ok. |
||
By: Sergey
Date: 2004-10-28
Time: 20:54
|
Re: Problems with selectedThanks for spending your time to help me.
But i've IE 6 and i still can't understand why it don't work |
||
By: Skrol29
Date: 2004-10-29
Time: 11:10
|
Re: Problems with selectedIve tested the following script+template on IE 6 and it worked ok with both TBS 2.0 and 2.0ce.
Could you test it and tell me if you still have the bug? If it's so, could you sent the Html source of the result to me and indicate you PHP version. test.php:
test.htm:
|
||
By: Sergey
Date: 2004-10-29
Time: 12:32
|
Re: Problems with selectedvery strange, but this variant is working...
i'll then try to find the error. thank's for helping me. maybe my hands is in wrong place :) your engine - is the best. thank's again :) |