Disabled controls are not sent - that is an HTTP thing. You can use a
hidden field or some other trick to get it there (or rely on the value
of the radio button).

Last I checked, the first form works only in IE. If you are writing only
for IE, that's ok, but it is something to consider. The second works in
almost any browser.


>>> [EMAIL PROTECTED] 10/29/03 9:44 AM >>>
Been screwing around with this all morning, and can't seem to find an

I've got two radio buttons on a form.  If the user clicks the second
button, I need to force the value of a following <html:select/> to a
specific value, and disable the select.  So, using JavaScript, on my
button I fire an onclick event that run a real simple javascript
In this function I've tried using 

        document.formName.selectVar.value = <default value>     // is
accepted, but the <default value> isn't passed to my form bean
        document.formName.selectVar.option[0].selected = true   // 
        document.formName.selectVar.option[0].value = <default value>
// ditto
        document.formName.selectVar.option[0].isSelected =
true            //

JavaScript seems to accept all of these formats, but the setter method
in my
form bean for 'selectVar' is never getting called.  This is going to be
'Doh!' moment, but how do I do this?


Jerry Jalenak
Development Manager, Web Publishing
LabOne, Inc.
10101 Renner Blvd.
Lenexa, KS  66219
(913) 577-1496


This transmission (and any information attached to it) may be
confidential and
is intended solely for the use of the individual or entity to which it
addressed. If you are not the intended recipient or the person
responsible for
delivering the transmission to the intended recipient, be advised that
have received this transmission in error and that any use,
forwarding, printing, or copying of this information is strictly
If you have received this transmission in error, please immediately
LabOne at the following email address:

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to