Ok, I'm really starting to have a bad day and the ol' brain isn't working. I can't think of what I should be searching for, or even find previous examples of this kind of thing.
I have a HTML form with three fields;
- select: disposition_status
- text: disposition_datetime_hasrecord
- text: disposition_description
The select field disposition_status
has the following values:
- 1 - in
- 2 - out
When a user selects the item in disposition_status
with the value of 1 (in), I want to clear any text in the fields disposition_datetime_hasrecord
and disposition_description
.
If anyone has an example or can point me in the right direction for achieving this it would be appreciated.