B
Bubba Gump
I hope someone can help here.
I'm creating a form that disables certain fields depending on the users
choices. But I've noticed that Disabled fields aren't "grayed out" (ie: you
can't tell they're disabled until you try to select them. Very annoying).
So I added code to manually change the background color of these fields
when a particular option is selected. Problem is, if they use their Back
button to return (like after a bad Submit), the normal white color returns
(even though they're still disabled).
The "Back" button doesn't trip an "onLoad" event, so I can't add code to
correct the colors manually.
Is there a way to "fix" the Disabled property so that disabled fields are
automatically grayed out even after clicking "Back"?
PS: Disabling "Back" and forcing the user to reload the page is not an
option because it wipes all all their prior entires and forces them to
start over. I don't want to do that.
Thanks in advance.
I'm creating a form that disables certain fields depending on the users
choices. But I've noticed that Disabled fields aren't "grayed out" (ie: you
can't tell they're disabled until you try to select them. Very annoying).
So I added code to manually change the background color of these fields
when a particular option is selected. Problem is, if they use their Back
button to return (like after a bad Submit), the normal white color returns
(even though they're still disabled).
The "Back" button doesn't trip an "onLoad" event, so I can't add code to
correct the colors manually.
Is there a way to "fix" the Disabled property so that disabled fields are
automatically grayed out even after clicking "Back"?
PS: Disabling "Back" and forcing the user to reload the page is not an
option because it wipes all all their prior entires and forces them to
start over. I don't want to do that.
Thanks in advance.