greying out an input field
I have field which has a low and a high range of field1. When the user enters a high range of field1, I need to grey out the bottom two fields immediately, so that the user cannot enter anything on those fields. If the user just enters the low range of field1, then the bottom two fields can be input by the user. How do I do such a thing?