|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I think I worded my previous question wrong. What I meant was to have those 2 fields (DockingStation and DockingStationQuantity) as read only until the other field (laptop) is checked off. Is there another way of doing it besides using Javascript?
Thanks! |
|
#2
|
|||
|
|||
|
There's no way to have the client's browser enable and disable form fields on the fly other than Javascript. Keep in mind that all browsers do not support disabled/read-only form fields, so your mileage will vary. I don't know much about this sort of thing, but an onChange event handler that does something like this:
document.forms[0].address.disabled = true should do it. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ColdFusion Development > Read only fields |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|