Conditional Radio button

JcAndres

Member
Conditional radio buttons

Hi, i have a group of radio buttons with 5 options

Printers
Multifunctional
Photocopier
Fax
Other

and a text field (tipomaqotro) who is disabled with $ ( 'aach___tipomaqotro'.) disabled = true; / onload

I need that when you select "Other" text field is enabled tipomaqotro and to type on.

If the user selects any other option the text field to disable and delete the contents.

any suggestions??
 
Have you tried playing with the JavaScript options on your radio button element?

Try two 'blur' events, using the "or" settings ... one to show when radio == Other, one to hide when radio != Other. You'll have to use whatever 'value' you have set for that option on the dropdown itself, which may or may not be Other.

-- hugh
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top