Enabling/Disabling Fields Conditionally

aroth

Registered User.
Local time
Today, 06:28
Joined
Jun 18, 2008
Messages
12
Hi everyone.

I have built a form with many checkboxes and Option Groups and have set up conditional formats to Enable or Disable certain fields based on what options are checked. I have the logic figured out and the conditional formatting does what I want it to...sort of. The fields update when the condition is met, however, the color of the field doesn't update immediately.

For example, by default a field is Disabled until a check box is checked, thus enabling it. A disabled field is gray by default, and an enabled field is white. For some reason when the condition is met, the field becomes enabled (data can be entered) but the default gray color of a disabled field remains. Is there a way to get around this refreshing delay?

Let me know if my question is in anyway unclear and I will try to clarify.

Thank you.
 
Is this a checkbox? If so, you might try giving it a default value of False. By default they'll start out Null, which looks gray.
 
They are actually Text Boxes and Combo Boxes.
 
Hmm, then I've not seen that behavior. What version? Odd that it would do the enable but not the color. Does it change eventually (ie, is it a lag or doesn't happen at all)?
 
There's a lag. After to click in the newly enabled field and then move to another field, the color updates. This is fine for me, since I know the conditions, but this can be rather confusing to the end-user.
 

Users who are viewing this thread

Back
Top Bottom